* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
    color: #ffffff;
}

/* Luxury Background Effects */
.luxury-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.golden-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: float 20s linear infinite;
}

.elegant-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: shimmer 15s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Brand Header */
.brand-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

.brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 8px;
    margin-top: 5px;
}

.luxury-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin: 0 auto;
    position: relative;
}

.luxury-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
}

.elegant-icon {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 25px;
    animation: sparkle 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1) rotate(180deg); 
        filter: brightness(1.3);
    }
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    font-style: italic;
}

/* Coffee Message Section */
.coffee-message-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.coffee-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.coffee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

.coffee-icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 20px;
    animation: coffeeSteam 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(139, 69, 19, 0.6);
}

@keyframes coffeeSteam {
    0%, 100% { 
        transform: scale(1) translateY(0px); 
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05) translateY(-5px); 
        filter: brightness(1.2);
    }
}

.coffee-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.coffee-text {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Message Section */
.message-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.message-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.message-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

.message-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    animation: crown 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes crown {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(5deg); }
}

.message-text {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-style: italic;
}

/* Quote Section */
.quote-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.quote-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 20px;
    opacity: 0.8;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ffffff;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    font-weight: 300;
}

.quote-text::before {
    content: '"';
    font-size: 4rem;
    color: #FFD700;
    position: absolute;
    top: -20px;
    left: -30px;
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.quote-author {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-align: right;
    font-style: italic;
}

/* Timer Section */
.timer-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.timer-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.timer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.timer-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    animation: hourglass 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes hourglass {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.timer-card h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

#timer-countdown {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.timer-unit {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.timer-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timer-btn {
    padding: 15px 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.timer-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.continue-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4CAF50;
    font-weight: 600;
}

.continue-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
    border-color: rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    color: #ffffff;
}

/* Action Section */
.action-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.action-btn {
    padding: 18px 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.new-message-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* NICONS Info Section */
.nicons-info {
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.nicons-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nicons-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.nicons-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 600;
}

.nicons-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.nicons-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #FFD700;
    font-weight: 500;
}

/* Footer */
.footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
}

.footer i {
    color: #FFD700;
    animation: heartbeat 2s ease-in-out infinite;
}

.footer-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    font-style: italic;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .brand-text {
        font-size: 2rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .message-text {
        font-size: 1.1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .action-section {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .timer-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .timer-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .nicons-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Success Animation */
.success-animation {
    animation: successPulse 0.8s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
    word-wrap: break-word;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-success {
    background: rgba(76, 175, 80, 0.9);
}

.notification-error {
    background: rgba(244, 67, 54, 0.9);
}

.notification-info {
    background: rgba(33, 150, 243, 0.9);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}