/* ===== CSS Variables & Base ===== */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #f472b6;
    --accent-light: #f9a8d4;
    --bg-dark: #0f0f23;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== Background Animation ===== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-light) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

/* ===== Glass Card ===== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-glow);
}

/* ===== Container & Layout ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 60px);
}

/* ===== Header ===== */
.header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.title-icon {
    font-size: 0.8em;
    -webkit-text-fill-color: initial;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    padding: 10px;
    /* Larger touch area */
    margin: -10px;
}

.title-icon:active {
    transform: scale(0.8) rotate(-15deg);
}

.title-icon.pulse-feedback {
    animation: iconPulse 0.4s ease-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ===== Countdown Section ===== */
.countdown-section {
    width: 100%;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px 30px;
    margin-bottom: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: transform 0.3s ease;
}

.countdown-value:hover {
    transform: scale(1.1);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 400;
}

.countdown-separator {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--primary-light);
    opacity: 0.5;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.target-info {
    text-align: center;
    padding: 15px;
}

.target-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.target-date {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 600;
}

/* ===== Quote Section ===== */
.quote-section {
    width: 100%;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.quote-text {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 600;
}

/* ===== Friday Section ===== */
.friday-section {
    width: 100%;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(6, 95, 70, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.friday-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669, #10b981);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.friday-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.friday-icon {
    font-size: 2rem;
}

.friday-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.friday-quote {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Navigation Buttons ===== */
.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 95, 70, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(6, 95, 70, 0.4));
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

/* ===== Settings ===== */
.settings-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.settings-btn {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(244, 114, 182, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.settings-btn .btn-icon {
    font-size: 1.2em;
}

.settings-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(244, 114, 182, 0.4));
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
}

.settings-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    padding: 35px;
    max-width: 420px;
    width: 92%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.9), rgba(20, 20, 45, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(244, 114, 182, 0.3);
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Quick Presets */
.quick-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 25px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.preset-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: white;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Date Inputs */
.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.styled-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.styled-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.styled-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.styled-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--accent) 100%);
    background-size: 200% 200%;
    color: white;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Secret Modal & Easter Egg ===== */
#secretModal .modal-content {
    background: linear-gradient(145deg, #0d0d1a, #1a0b2e);
    border: 1px solid #7c3aed;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.4);
}

.secret-title {
    font-family: 'Courier New', Courier, monospace !important;
    color: #a78bfa !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    -webkit-text-fill-color: initial !important;
}

.secret-text {
    font-family: 'Courier New', Courier, monospace;
    color: #d1d5db;
    line-height: 1.8;
}

.distorted {
    filter: hue-rotate(180deg) contrast(1.5) blur(1px);
    transition: filter 1s ease;
}

.modal-subtitle {
    font-size: 0.85rem;
}

.quick-presets {
    gap: 6px;
    margin-bottom: 15px;
}

.preset-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.divider {
    margin: 12px 0;
}

.date-inputs {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group label {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.styled-input {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.modal-buttons {
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 45px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .title {
        font-size: 1.8rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .preset-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .settings-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* ===== Shooting Star Easter Egg ===== */
.shooting-star-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0a0a1a 0%, #1a0a2e 50%, #0f0f23 100%);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    overflow: hidden;
}

.shooting-star-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Stars background */
.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Shooting star */
.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(to right, #fff, #ffd700, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.8),
        0 0 20px 4px rgba(255, 215, 0, 0.4);
    animation: shoot 2s ease-out forwards;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    width: 150px;
    height: 2px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.5), transparent);
    transform: translateY(-50%);
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        opacity: 1;
    }

    100% {
        transform: translate(400px, 400px) rotate(-45deg);
        opacity: 0;
    }
}

/* Wish Modal */
.wish-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(145deg, rgba(26, 10, 46, 0.95), rgba(10, 10, 26, 0.98));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.2),
        0 0 100px rgba(138, 43, 226, 0.3);
}

.wish-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.wish-header {
    margin-bottom: 25px;
}

.wish-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    animation: starGlow 2s ease-in-out infinite;
}

@keyframes starGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
        transform: scale(1.1);
    }
}

.wish-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #fff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.wish-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.wish-time-info {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 25px;
    display: inline-block;
}

.wish-time-info span {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
}

.wish-input-container {
    margin-bottom: 25px;
}

.wish-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    resize: none;
    min-height: 100px;
    transition: all 0.3s ease;
}

.wish-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.wish-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.wish-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wish-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wish-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
    color: #1a0a2e;
}

.wish-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.wish-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.wish-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Wish sent confirmation */
.wish-sent {
    display: none;
    text-align: center;
    padding: 20px;
}

.wish-sent.active {
    display: block;
}

.wish-sent-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: wishSent 1s ease-out forwards;
}

@keyframes wishSent {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.wish-sent-title {
    font-size: 1.6rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.wish-sent-message {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Close button for wish modal */
.wish-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wish-close:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: rotate(90deg);
}

/* ===== Relationship Counter Easter Egg ===== */
.relationship-counter {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.95), rgba(168, 85, 247, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 60px rgba(244, 114, 182, 0.4),
        0 0 100px rgba(168, 85, 247, 0.3);
}

.relationship-counter.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.relationship-counter .counter-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.relationship-counter .counter-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.counter-header {
    margin-bottom: 25px;
}

.counter-heart {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    35% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    55% {
        transform: scale(1);
    }
}

.counter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.counter-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.counter-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.counter-stat {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 15px;
    backdrop-filter: blur(5px);
}

.counter-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.counter-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-message {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== Heart Explosion Animation ===== */
.heart-particle {
    position: fixed;
    pointer-events: none;
    font-size: 20px;
    z-index: 3000;
    animation: heartExplode 1.5s ease-out forwards;
}

@keyframes heartExplode {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }

    20% {
        opacity: 1;
        transform: scale(1.2) rotate(20deg);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) rotate(-30deg) translateY(-100px);
    }
}

/* ===== Fortune Cookie Modal ===== */
.fortune-cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(145deg, #fff5f5, #ffe0e6);
    border: 2px solid rgba(244, 114, 182, 0.3);
    border-radius: 24px;
    padding: 35px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(244, 114, 182, 0.3);
}

.fortune-cookie-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.fortune-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(244, 114, 182, 0.1);
    border: none;
    color: #f472b6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fortune-close:hover {
    background: rgba(244, 114, 182, 0.2);
    transform: rotate(90deg);
}

.fortune-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
    animation: cookieWiggle 2s ease-in-out infinite;
}

@keyframes cookieWiggle {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.fortune-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #be185d;
    margin-bottom: 20px;
}

.fortune-message {
    font-size: 1.1rem;
    color: #831843;
    line-height: 1.6;
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    margin-bottom: 20px;
    border-left: 4px solid #f472b6;
}

.fortune-new-btn {
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fortune-new-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 114, 182, 0.4);
}

/* ===== Hidden Footer Trigger for Relationship Counter ===== */
.footer {
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer:hover {
    color: var(--accent-light);
}