/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 25% 25%, #1a1a1a 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #1a1a1a 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: float 2s ease-in-out infinite;
}

.loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.loading-text {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Comic-style text effects */
.section-title {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: #FFD700;
    text-shadow: 
        3px 3px 0px #FF6B35,
        6px 6px 0px #000,
        6px 6px 10px rgba(0,0,0,0.8);
    text-align: center;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid #FFD700;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    filter: drop-shadow(2px 2px 4px rgba(255, 215, 0, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.nav-menu a:hover {
    color: #FFD700;
    transform: scale(1.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #FFD700;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 2rem 2rem;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.polaroid {
    background: #fff;
    padding: 20px 20px 60px;
    transform: rotate(-5deg);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.8),
        inset 0 0 0 1px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

.polaroid:hover {
    transform: rotate(-2deg) scale(1.05);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.polaroid-caption {
    text-align: center;
    margin-top: 15px;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    color: #333;
    text-shadow: none;
}

/* Gallery polaroids - no background, no captions */
.polaroid-gallery .polaroid {
    background: none;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-radius: 10px;
    overflow: hidden;
}

.polaroid-gallery .polaroid .hero-image {
    border-radius: 10px;
    border: 3px solid #FFD700;
}

.polaroid-gallery .polaroid .polaroid-caption {
    display: none;
}

.main-logo {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
    filter: drop-shadow(5px 5px 10px rgba(255, 215, 0, 0.3));
}

.social-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transform: rotate(1deg);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.stat-box:nth-child(even) {
    transform: rotate(-1deg);
}

.stat-box:hover {
    transform: rotate(0deg) scale(1.05);
}

.stat-platform {
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-handle {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Social Buttons Section */
.social-buttons-section {
    padding: 3rem 2rem;
    background: url('../images/dougbg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.social-buttons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(255, 107, 53, 0.8) 0%, rgba(247, 147, 30, 0.7) 50%, rgba(255, 215, 0, 0.8) 100%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.social-buttons-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #FFD700 0%, #FFA500 100%);
    border-radius: 25px;
    text-decoration: none;
    color: #2c1810;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 0 0 3px #2c1810;
    border: 4px solid #FFD700;
    position: relative;
    min-width: 180px;
    transform: rotate(-2deg);
}

.social-btn:nth-child(2) {
    transform: rotate(1deg);
}

.social-btn:nth-child(3) {
    transform: rotate(-1deg);
}

.social-btn:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.4),
        0 0 0 4px #2c1810,
        0 0 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(145deg, #FFD700 0%, #FF8C00 100%);
}

.social-btn.twitter-btn {
    background: linear-gradient(145deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    color: #2c1810;
}

.social-btn.twitter-btn:hover {
    background: linear-gradient(145deg, #FFD700 0%, #FF8C00 100%);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.4),
        0 0 0 4px #2c1810,
        0 0 20px rgba(255, 215, 0, 0.6);
}

.social-btn.telegram-btn {
    background: linear-gradient(145deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    color: #2c1810;
}

.social-btn.telegram-btn:hover {
    background: linear-gradient(145deg, #FFD700 0%, #FF8C00 100%);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.4),
        0 0 0 4px #2c1810,
        0 0 20px rgba(255, 215, 0, 0.6);
}

.social-btn.dextools-btn {
    background: linear-gradient(145deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    color: #2c1810;
}

.social-btn.dextools-btn:hover {
    background: linear-gradient(145deg, #FFD700 0%, #FF8C00 100%);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.4),
        0 0 0 4px #2c1810,
        0 0 20px rgba(255, 215, 0, 0.6);
}

.btn-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-title {
    font-family: 'Bangers', cursive;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.2);
    line-height: 1.2;
}

.btn-subtitle {
    font-family: 'Comic Neue', cursive;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Carousel Styles */
.carousel-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #2c1810 0%, #1a1a1a 50%, #2c1810 100%);
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 165, 0, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    animation: sectionSparkle 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sectionSparkle {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 0.8; transform: translateX(10px); }
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF8C00 50%, #FFD700 75%, #FFA500 100%);
    background-size: 40px 40px;
    animation: puggyBackground 30s linear infinite;
    position: relative;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 20px 20px;
    animation: sparkle 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes puggyBackground {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

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

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.carousel-item {
    min-width: 300px;
    margin: 0 10px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFD700;
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #FFA500;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.polaroid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Tokenomics Section */
.tokenomics {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #000 0%, #2a2a2a 50%, #000 100%);
}

.tokenomics-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tokenomics-item {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transform: rotate(1deg);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.tokenomics-item:nth-child(even) {
    transform: rotate(-1deg);
}

.tokenomics-item:hover {
    transform: rotate(0deg) scale(1.05);
}

.tokenomics-item h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tokenomics-item p {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Horoscope Section */
.horoscope-section {
    padding: 4rem 2rem;
    background: url('../images/dougbg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    text-align: center;
}

.horoscope-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(68, 160, 141, 0.1) 0%, transparent 50%),
        rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

/* Fallback for mobile devices that don't support background-attachment: fixed */
@media (max-width: 768px) {
    .horoscope-section {
        background-attachment: scroll;
    }
}

/* Horoscope section specific title styling */
.horoscope-section .section-title {
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.7);
    padding: 1rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    display: inline-block;
    text-shadow:
        3px 3px 0px #FF6B35,
        6px 6px 0px #000,
        6px 6px 10px rgba(0,0,0,0.9),
        0 0 20px rgba(255,215,0,0.3);
}

.horoscope-description {
    font-size: 1.2rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow:
        3px 3px 6px rgba(0,0,0,0.9),
        0 0 10px rgba(0,0,0,0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.4);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.horoscope-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}



.game-screen {
    background: #000;
    border: 3px solid #666;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

#gameCanvas {
    background: #f0f0f0;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.game-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow:
        0 5px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.game-btn:nth-child(even) {
    transform: rotate(-1deg);
}

.game-btn:hover {
    transform: rotate(0deg) scale(1.05);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.game-btn:active {
    transform: rotate(0deg) scale(0.95);
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFD700;
    font-weight: bold;
}

.stat-bar {
    flex: 1;
    height: 20px;
    background: #666;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #FFD700;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00 0%, #ffff00 50%, #ff0000 100%);
    transition: width 0.3s ease;
    border-radius: 8px;
}

/* Join Section */
.join {
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, #2a2a2a 0%, #000 100%);
}

.join-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.join-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.join-btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

.join-btn.telegram {
    transform: rotate(-2deg);
}

.join-btn:hover {
    transform: rotate(0deg) scale(1.1);
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

/* Footer */
.footer {
    padding: 3rem 2rem 2rem;
    background: #000;
    border-top: 3px solid #FFD700;
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo-img {
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(3px 3px 6px rgba(255, 215, 0, 0.5));
}

.footer-tagline {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 2rem;
    }

    .main-logo {
        max-width: 300px;
    }

    .carousel-item {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 1rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .social-buttons-section {
        padding: 2rem 1rem;
        background-attachment: scroll;
    }

    .social-buttons-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .social-btn {
        padding: 1.5rem 1.2rem;
        min-width: 160px;
        transform: rotate(0deg) !important;
    }

    .social-btn:hover {
        transform: translateY(-5px) scale(1.02) !important;
    }

    .btn-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .btn-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .btn-subtitle {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-controls {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .game-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .join-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-item {
        min-width: 200px;
    }

    .polaroid-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }



    #gameCanvas {
        width: 100%;
        max-width: 350px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero {
        padding: 70px 0.5rem 1rem;
    }

    .stat-box {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .stat-platform {
        font-size: 1rem;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .tokenomics-item {
        padding: 1.5rem;
    }

    .tokenomics-item h3 {
        font-size: 1.3rem;
    }

    .game-controls {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .game-btn {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .join-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .carousel-item {
        min-width: 180px;
    }

    .carousel-item img {
        height: 150px;
    }

    .polaroid {
        max-width: 200px;
        padding: 15px 15px 45px;
    }

    .polaroid-caption {
        font-size: 1rem;
    }

    #gameCanvas {
        max-width: 280px;
    }

    .nav {
        padding: 0.5rem 1rem;
    }

    .logo {
        height: 40px;
    }
}

/* Animation Classes */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Performance Optimizations */
* {
    will-change: auto;
}

.carousel-track,
.polaroid,
.stat-box,
.tokenomics-item,
.game-btn,
.join-btn {
    will-change: transform;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .float,
    .bounce,
    .pulse {
        animation: none !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

.nav-menu a:focus {
    background: rgba(255, 215, 0, 0.2);
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-title {
        text-shadow: none;
        border: 2px solid #FFD700;
        padding: 1rem;
        background: #000;
    }

    .stat-box,
    .tokenomics-item,
    .game-btn,
    .join-btn {
        border: 2px solid #FFD700;
    }
}

/* Print styles */
@media print {
    .header,
    .carousel-section,
    .horoscope-section,
    .join {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-title {
        color: black;
        text-shadow: none;
    }
}

/* Doug's Daily Horoscope Styles */
.horoscope-prompt {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 3rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.horoscope-prompt:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 215, 0, 0.2);
}

.doug-avatar {
    margin-bottom: 1.5rem;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.prompt-content h3 {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.prompt-content p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.horoscope-button {
    background: linear-gradient(145deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.horoscope-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, #FFF700, #FFB500);
}

.horoscope-button:active {
    transform: translateY(-1px);
}

.horoscope-button.disabled {
    background: linear-gradient(145deg, #666, #444);
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.horoscope-button.disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.horoscope-result {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.horoscope-result.show {
    opacity: 1;
    transform: translateY(0);
}

.horoscope-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.doug-sticker {
    flex-shrink: 0;
}

.sticker-image {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    border: 3px solid #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 1; /* Ensure image is visible */
}

.sticker-image.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.horoscope-text {
    flex: 1;
}

.mood-indicator {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.horoscope-message {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.investment-tip {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.investment-tip strong {
    color: #FFD700;
}

.social-encourage {
    text-align: center;
    margin-top: 1.5rem;
}

.social-encourage p {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(145deg, #FF6B35, #FF4757);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.cta-btn.secondary {
    background: linear-gradient(145deg, #3742FA, #2F3542);
    color: #fff;
    box-shadow: 0 6px 20px rgba(55, 66, 250, 0.4);
}

.cta-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 66, 250, 0.6);
}

/* Mobile Responsive Styles for Doug's Horoscope */
@media (max-width: 768px) {
    .horoscope-prompt {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem;
    }

    .avatar-image {
        width: 100px;
        height: 100px;
    }

    .prompt-content h3 {
        font-size: 2rem;
    }

    .prompt-content p {
        font-size: 1rem;
    }

    .horoscope-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .horoscope-result {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .horoscope-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .sticker-image {
        width: 120px;
        height: 120px;
    }

    .horoscope-message {
        font-size: 1rem;
    }

    .investment-tip {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
    }

    .horoscope-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}


