* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.background-graph {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
    width: 50vw;
}

h1 {
    color: #f5c518;
    font-size: 2.5em;
    margin: 0;
}

p, .p2 {
    font-size: 1.2em;
    color: #333;
    margin: 10px 0;
}

.quote {
    margin: 30px 0;
    padding: 35px 45px;
    position: relative;
    max-width: 580px;
    background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(245, 197, 24, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: quoteReveal 0.8s ease-out;
}

@keyframes quoteReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.quote-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 197, 24, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

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

.quote-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #f5c518 20%, #f5c518 80%, transparent 100%);
    animation: accentScan 3s ease-in-out infinite;
}

@keyframes accentScan {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.quote-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-line {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quote .word {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6em;
    font-weight: 700;
    color: #e8e8e8;
    letter-spacing: 0.02em;
    display: inline-block;
    animation: wordFade 0.5s ease-out backwards;
}

.line-1 .word:nth-child(1) { animation-delay: 0.1s; }
.line-1 .word:nth-child(2) { animation-delay: 0.15s; }
.line-1 .word:nth-child(3) { animation-delay: 0.2s; }
.line-1 .word:nth-child(4) { animation-delay: 0.3s; }
.line-2 .word:nth-child(1) { animation-delay: 0.5s; }
.line-2 .word:nth-child(2) { animation-delay: 0.6s; }
.line-2 .word:nth-child(3) { animation-delay: 0.7s; }
.line-2 .word:nth-child(4) { animation-delay: 0.8s; }

@keyframes wordFade {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.quote .word.strike {
    position: relative;
    color: #888;
    font-style: italic;
}

.quote .word.strike::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: 2px;
    background: #f5c518;
    transform: scaleX(0);
    transform-origin: left;
    animation: strikeThrough 0.4s ease-out 0.8s forwards;
}

@keyframes strikeThrough {
    to { transform: scaleX(1); }
}

.quote .word.highlight {
    color: #f5c518;
    text-shadow: 0 0 30px rgba(245, 197, 24, 0.5), 0 0 60px rgba(245, 197, 24, 0.3);
    animation: wordFade 0.5s ease-out backwards, glowText 2s ease-in-out 1s infinite;
}

@keyframes glowText {
    0%, 100% { text-shadow: 0 0 30px rgba(245, 197, 24, 0.5), 0 0 60px rgba(245, 197, 24, 0.3); }
    50% { text-shadow: 0 0 40px rgba(245, 197, 24, 0.8), 0 0 80px rgba(245, 197, 24, 0.5), 0 0 100px rgba(245, 197, 24, 0.3); }
}

.quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5em;
    color: rgba(245, 197, 24, 0.15);
    line-height: 1;
    pointer-events: none;
}

.quote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 15px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5em;
    color: rgba(245, 197, 24, 0.15);
    line-height: 1;
    pointer-events: none;
}

@media (max-width: 600px) {
    .quote {
        padding: 25px 20px;
        margin: 20px 10px;
    }

    .quote .word {
        font-size: 1.2em;
    }

    .quote-line {
        gap: 8px;
    }

    .quote::before,
    .quote::after {
        font-size: 3em;
    }
}

/* Action Buttons - Glassmorphism */
.action-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.glass-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 50px;
    color: #1a1a1a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-btn:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: rgba(245, 197, 24, 0.5);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(245, 197, 24, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-btn:active {
    transform: translateY(0);
}

.glass-btn svg {
    flex-shrink: 0;
}

/* CA Card - Clean Glassmorphism */
.ca-glass {
    margin-top: 28px;
    padding: 24px 28px;
    width: 100%;
    max-width: 520px;
    background: rgba(245, 197, 24, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(245, 197, 24, 0.3);
    box-shadow:
        0 8px 32px rgba(245, 197, 24, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: glassReveal 0.6s ease-out backwards;
    animation-delay: 0.2s;
}

@keyframes glassReveal {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ca-glass-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7em;
    font-weight: 600;
    color: #b08c00;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ca-glass-address {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    color: #333;
    letter-spacing: 0.01em;
    word-break: break-all;
    text-align: center;
    line-height: 1.6;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(245, 197, 24, 0.15);
    width: 100%;
    transition: all 0.3s ease;
}

.ca-glass:hover .ca-glass-address {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(245, 197, 24, 0.3);
}

.ca-glass:active {
    transform: scale(0.98);
}

.tagline {
    margin-top: 30px;
    font-style: italic;
    max-width: 600px;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 600px) {
    .ca-glass {
        padding: 20px 18px;
        margin: 20px 15px 0;
        border-radius: 24px;
    }

    .ca-glass-address {
        font-size: 0.78em;
        padding: 12px 14px;
    }

    .ca-glass-btn {
        padding: 10px 22px;
        font-size: 0.75em;
    }

    .ca-glass-label {
        font-size: 0.65em;
    }
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
}

footer a {
    color: #d4a800;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    .logo {
        max-width: 120px;
    }

    .text-box {
        font-size: 0.85em;
        padding: 12px 15px;
    }

    .text-box button {
        font-size: 0.8em;
        padding: 6px 10px;
    }

    .text-box span {
        min-width: 150px;
    }
}
