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

body {
    font-family: 'Press Start 2P', monospace;
    background-color: #111111;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Animated Background */
.pixel-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(20, 255, 236, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 255, 236, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
    z-index: -2;
}

.coin-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Header */
.header {
    padding: 20px 0;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-logo {
    font-size: 2em;
    color: #ffd700;
    text-shadow: 0 0 20px #ffd700;
    animation: coinSpin 3s linear infinite;
}

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

.logo-text {
    font-size: 1.5em;
    color: #14ffec;
    text-shadow: 0 0 10px #14ffec;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #14ffec;
    text-shadow: 0 0 10px #14ffec;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #14ffec;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3em;
    color: #ff4c60;
    text-shadow: 0 0 20px #ff4c60;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { text-shadow: 0 0 20px #ff4c60; }
    100% { text-shadow: 0 0 30px #ff4c60, 0 0 40px #ff4c60; }
}

.hero-subtitle {
    font-size: 1.2em;
    color: #14ffec;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #14ffec;
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 0.9em;
    color: #ffffff;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    color: #ffd700;
    text-shadow: 0 0 15px #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.7em;
    color: #14ffec;
    text-transform: uppercase;
}

.cta-button {
    background: linear-gradient(45deg, #ff4c60, #ffd700);
    border: none;
    padding: 15px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 1em;
    color: #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.8);
}

/* Section Styling */
.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #14ffec;
    text-shadow: 0 0 15px #14ffec;
}

.section-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro p {
    font-size: 0.8em;
    color: #ffffff;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.game-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 2px solid #14ffec;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #ff4c60;
    box-shadow: 0 10px 30px rgba(20, 255, 236, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(20, 255, 236, 0.9);
    color: #111111;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.6em;
    font-weight: bold;
}

.game-info {
    padding: 20px;
    text-align: center;
}

.game-title {
    font-size: 1em;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ffd700;
}

.game-description {
    font-size: 0.6em;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.play-button {
    background: linear-gradient(45deg, #14ffec, #ff4c60);
    border: none;
    padding: 10px 20px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8em;
    color: #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(20, 255, 236, 0.5);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #111111);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: rgba(20, 255, 236, 0.1);
    border: 1px solid #14ffec;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(20, 255, 236, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1em;
    text-shadow: 0 0 10px #ffd700;
}

.feature-card p {
    color: #ffffff;
    font-size: 0.7em;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 50px;
}

.about-text p {
    font-size: 0.8em;
    color: #ffffff;
    line-height: 2;
    margin-bottom: 25px;
    text-align: center;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 76, 96, 0.1);
    border: 1px solid #ff4c60;
    border-radius: 10px;
}

.highlight-item h4 {
    color: #ff4c60;
    margin-bottom: 10px;
    font-size: 0.9em;
    text-shadow: 0 0 10px #ff4c60;
}

.highlight-item p {
    color: #ffffff;
    font-size: 0.7em;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #111111);
}

.disclaimer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer-main {
    text-align: center;
    margin-bottom: 40px;
}

.disclaimer-main p {
    font-size: 0.9em;
    color: #ff4c60;
    line-height: 2;
    text-shadow: 0 0 10px #ff4c60;
}

.disclaimer-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.disclaimer-point {
    text-align: center;
    padding: 20px;
    background: rgba(255, 76, 96, 0.1);
    border: 1px solid #ff4c60;
    border-radius: 10px;
}

.disclaimer-point h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 0.8em;
    text-shadow: 0 0 10px #ffd700;
}

.disclaimer-point p {
    color: #ffffff;
    font-size: 0.6em;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(20, 255, 236, 0.1);
    border: 1px solid #14ffec;
    border-radius: 10px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #14ffec;
    font-size: 0.7em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(20, 255, 236, 0.1);
    border: 2px solid #14ffec;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff4c60;
    box-shadow: 0 0 10px rgba(255, 76, 96, 0.3);
}

.submit-button {
    background: linear-gradient(45deg, #14ffec, #ffd700);
    border: none;
    padding: 15px 30px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8em;
    color: #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(20, 255, 236, 0.5);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.contact-item h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 0.8em;
    text-shadow: 0 0 10px #ffd700;
}

.contact-item p {
    color: #ffffff;
    font-size: 0.7em;
    margin-bottom: 5px;
}

.contact-item span {
    color: #14ffec;
    font-size: 0.6em;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 40px 0;
    border-top: 2px solid #14ffec;
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .coin-logo {
    font-size: 1.5em;
}

.footer-logo .logo-text {
    font-size: 1.2em;
}

.footer-content p {
    color: #ffffff;
    font-size: 0.7em;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #14ffec;
    text-decoration: none;
    font-size: 0.7em;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff4c60;
    text-shadow: 0 0 10px #ff4c60;
}

/* Game Page Styles */
.game-page {
    padding: 100px 0 50px;
    min-height: 100vh;
}

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

.game-title-page {
    font-size: 2.5em;
    color: #ffd700;
    text-shadow: 0 0 20px #ffd700;
    margin-bottom: 30px;
}

.game-frame {
    width: 100%;
    height: 80vh;
    border: 3px solid #14ffec;
    border-radius: 10px;
    background: #000000;
    box-shadow: 0 0 30px rgba(20, 255, 236, 0.3);
}

.back-button {
    background: linear-gradient(45deg, #ff4c60, #14ffec);
    border: none;
    padding: 12px 25px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8em;
    color: #111111;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 76, 96, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-points {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .games-section,
    .features-section,
    .about-section,
    .disclaimer-section,
    .contact-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5em;
    }
    
    .section-title {
        font-size: 1.4em;
    }
    
    .logo-text {
        font-size: 1.2em;
    }
    
    .game-frame {
        height: 60vh;
    }
    
    .stat-number {
        font-size: 1.5em;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.feature-card,
.highlight-item,
.disclaimer-point,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Coin Rain Animation */
.coin {
    position: absolute;
    color: #ffd700;
    font-size: 1.5em;
    animation: coinFall 3s linear infinite;
    opacity: 0.7;
}

@keyframes coinFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}