/* Premium, warm, romantic Christmas styles */ body { font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif; background: linear-gradient(180deg, #232946 0%, #1a202c 100%); } #tree-container { min-height: 320px; min-width: 220px; width: 100vw; max-width: 100vw; display: flex; justify-content: center; align-items: center; } /* Christmas tree styles */ /* Beautiful, lush, premium Christmas tree */ /* Cartoon tree image style */ .cartoon-tree-img { display: block; margin: 0 auto; width: min(72vw, 520px); max-width: 92vw; height: auto; filter: drop-shadow(0 0 26px #fff8) drop-shadow(0 0 48px #FFD70044); border-radius: 18px; background: none; z-index: 2; box-shadow: 0 0 0 6px #fff2; transition: width 0.25s ease, height 0.25s ease, transform 0.25s ease; } @media (max-width: 1200px) { .cartoon-tree-img { width: min(72vw, 420px); } } @media (max-width: 900px) { .cartoon-tree-img { width: min(80vw, 360px); } } @media (max-width: 600px) { .cartoon-tree-img { width: min(92vw, 220px); } } .christmas-tree { width: 260px; height: 400px; } } @media (max-width: 600px) { .christmas-tree { width: 220px; height: 320px; } } .tree-part { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(135deg, #2d6a4f 60%, #1b4332 100%); box-shadow: 0 0 40px 10px #14532d44; border: 2px solid #fff2; } /* Glowing star */ .tree-star { position: absolute; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; z-index: 40; animation: twinkle 2s infinite alternate; filter: drop-shadow(0 0 18px #fff8) drop-shadow(0 0 32px #FFD700); } @keyframes twinkle { 0% { filter: brightness(1.2); } 100% { filter: brightness(2.2); } } /* tree wrapper for relative placements */ .tree-wrapper { position: relative; display: inline-block; overflow: visible; padding-bottom: 48px; /* space for gifts */ } /* centered row of gift boxes */ .boxes-row { display: flex; justify-content: center; align-items: flex-end; gap: 18px; pointer-events: auto; } @media (max-width: 600px) { .boxes-row { gap: 10px; } } /* star twinkle */ .starry-star { animation: starTwinkle 3s infinite ease-in-out; } @keyframes starTwinkle { 0% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } 100% { opacity: 0.6; transform: scale(1); } } /* Ornaments */ .ornament { position: absolute; border-radius: 50%; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; border: 2.5px solid #fff8; box-shadow: 0 0 12px 2px #fff8, 0 0 18px 4px #FFD70044; background: #fff; z-index: 10; } .ornament:hover { transform: scale(1.18) rotate(-2deg); box-shadow: 0 0 32px 8px #fff9, 0 0 18px 4px #FFD70099; z-index: 99; } /* Gift boxes */ .gift-box { width: 100px; height: 100px; background: linear-gradient(135deg, #e63946 60%, #fbefef 100%); border-radius: 14px; box-shadow: 0 12px 36px 0 rgba(0,0,0,0.35); position: relative; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; margin-bottom: 16px; border: 2.5px solid #fff6; overflow: hidden; } .gift-box:hover { transform: scale(1.14) translateY(-6px) rotate(-2deg); box-shadow: 0 18px 44px 0 rgba(0,0,0,0.45), 0 0 18px 6px #FFD70088; } .gift-box.inside { cursor: pointer; } @keyframes bob { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } } @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } } @media (max-width: 900px) { .gift-box { width: 80px; height: 80px; } .gift-ribbon { width: 80px; top: 28px; } .gift-bow { left: 24px; top: 16px; } } @media (max-width: 600px) { .gift-box { width: 56px; height: 56px; } .gift-ribbon { width: 56px; top: 18px; } .gift-bow { left: 12px; top: 6px; width: 10px; height: 10px; } } .gift-ribbon { position: absolute; top: 46%; left: 0; width: 100%; height: 12px; background: linear-gradient(90deg, #c1121f 30%, #e63946 70%); border-radius: 6px; box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25); } .gift-ribbon::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: -8px; width: 12px; height: 32px; background: linear-gradient(180deg, #ffdede, #ff7b7b); border-radius: 4px; opacity: 0.9; } .gift-bow { position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; background: radial-gradient(circle, #fff 40%, #ffccd5 100%); border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } /* Popup styles */ .quote-popup { position: fixed; left: 50%; top: 60%; transform: translate(-50%, -50%); background: rgba(34, 40, 49, 0.98); color: #ffd6e0; border-radius: 16px; box-shadow: 0 8px 32px 0 #0008; padding: 32px 40px; font-size: 1.25rem; font-family: 'Georgia', serif; z-index: 50; animation: fadeIn 0.5s; max-width: 90vw; word-break: break-word; } @media (max-width: 600px) { .quote-popup { padding: 16px 10px; font-size: 1rem; } } @keyframes fadeIn { from { opacity: 0; transform: translate(-50%, -60%); } to { opacity: 1; transform: translate(-50%, -50%); } } .quote-popup .close-btn { position: absolute; top: 12px; right: 18px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }