/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baloo 2', cursive;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
    font-weight: 600;
}

/* Website banner background for hero section */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Website banner.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.9;
    z-index: -1;
    animation: diamondFloat 20s ease-in-out infinite, diamondGlisten 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes diamondFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-3px);
    }
    75% {
        transform: translateY(-15px) translateX(8px);
    }
}

@keyframes diamondRotate {
    0% {
        transform: translateX(50px) translateY(30px) rotate(0deg);
    }
    100% {
        transform: translateX(50px) translateY(30px) rotate(360deg);
    }
}

@keyframes diamondGlisten {
    0%, 100% {
        filter: brightness(1) contrast(1);
        opacity: 0.3;
    }
    20% {
        filter: brightness(1.3) contrast(1.2);
        opacity: 0.4;
    }
    40% {
        filter: brightness(1.1) contrast(1.1);
        opacity: 0.35;
    }
    60% {
        filter: brightness(1.4) contrast(1.3);
        opacity: 0.45;
    }
    80% {
        filter: brightness(1.2) contrast(1.15);
        opacity: 0.38;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


/* Header */
header {
    background-color: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: #87CEEB;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    text-transform: uppercase;
}

.twitter-btn {
    background-color: #000;
    color: white;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.twitter-btn:hover {
    background-color: #333;
}

.twitter-icon {
    width: 20px;
    height: 20px;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-coin {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.hero h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #87CEEB;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.buy-btn-img {
    max-width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.buy-btn-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* CA Button Styling */
.ca-container {
    margin-top: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ca-button {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #87CEEB;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ca-button:hover {
    background-color: #87CEEB;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.ca-text {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.ca-button:hover .ca-text {
    color: white;
}

.copy-icon {
    width: 18px;
    height: 18px;
    color: #87CEEB;
    transition: color 0.3s ease;
}

.ca-button:hover .copy-icon {
    color: white;
}

.copy-success {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 100%;
    margin-top: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Header navigation */
nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.icon-btn:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.community-icon,
.document-icon {
    width: 20px;
    height: 20px;
}

.community-btn {
    background-color: #87CEEB;
    color: white;
}

.community-btn:hover {
    background-color: #4682B4;
}

.whitepaper-btn {
    background-color: #FFD700;
    color: #333;
}

.whitepaper-btn:hover {
    background-color: #FFA500;
}

/* Content sections */
section {
    padding: 3rem 0;
}

/* All content sections - pure white background */
.how-it-works,
.simple-math,
.community-goal,
.rules {
    background-color: white;
    position: relative;
}

section h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #87CEEB;
    font-weight: 700;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
    text-transform: uppercase;
}

section p {
    font-size: 1.2rem;
    color: #2c2c2c;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Rules section styling */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

.rule-item {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    font-family: 'Baloo 2', cursive;
    text-transform: uppercase;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.rules-summary {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 1rem auto;
    line-height: 1.8;
}

.closing-statement {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #87CEEB;
    margin-top: 2rem;
    text-align: center;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

/* Highlight important numbers */
strong {
    color: #FFD700;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Community goal section */
.community-goal p {
    font-size: 1.15rem;
    color: #555;
    font-style: italic;
}


/* Footer */
footer {
    background-color: rgba(52, 58, 64, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .buy-btn-img {
        max-width: 150px;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .icon-btn {
        padding: 0.4rem;
    }
    
    .community-icon,
    .document-icon {
        width: 18px;
        height: 18px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-coin {
        width: 150px;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    section h3 {
        font-size: 1.5rem;
    }
    
    section p {
        font-size: 1rem;
    }
    
    .rule-item {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .closing-statement {
        font-size: 1.3rem;
    }
    
}
