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

body {
    font-family: 'Arial', sans-serif;
    background-color: #222222;
    color: #ffffff;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
}

/* Typography */
.logo-text, .game-title, .section-title {
    font-family: 'Press Start 2P', cursive;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(34, 34, 34, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-size: 24px;
    color: #ff0066;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.6);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ff0066;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff0066;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    animation: fadeIn 1s ease;
}

.game-title {
    font-size: 64px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 0, 102, 0.8);
    line-height: 1.2;
}

.highlight {
    color: #ff0066;
}

.game-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #cccccc;
    line-height: 1.6;
}

.play-button {
    display: inline-block;
    background-color: #ff0066;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.6);
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 102, 0.8);
}

/* Floating Mines Animation */
.floating-mines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mine {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #333;
    border-radius: 50%;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.5);
}

.mine::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
}

.mine-1 {
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.mine-2 {
    top: 60%;
    left: 85%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 2s;
}

.mine-3 {
    top: 30%;
    left: 70%;
    animation: float 9s ease-in-out infinite;
    animation-delay: 1s;
}

.mine-4 {
    top: 70%;
    left: 20%;
    animation: float 11s ease-in-out infinite;
    animation-delay: 3s;
}

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

/* Features Section */
.features-section {
    padding: 100px 50px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 102, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3);
    border-color: rgba(255, 0, 102, 0.5);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff0066;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Preview Section */
.preview-section {
    padding: 100px 50px;
    background-color: rgba(255, 0, 102, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.preview-content {
    flex: 1;
    min-width: 300px;
}

.instructions {
    margin-bottom: 40px;
}

.instruction-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #ff0066;
    color: #ffffff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.instruction-step p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #ff0066;
    padding: 12px 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #ff0066;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #ff0066;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.6);
}

/* Game Preview Board */
.game-preview {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.preview-board {
    display: inline-block;
    background-color: #2a2a2a;
    border: 3px solid #444;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.preview-row {
    display: flex;
}

.preview-cell {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-cell.hidden {
    background-color: #444;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

.preview-cell.number {
    background-color: #2a2a2a;
    color: #00ccff;
}

.preview-cell.mine {
    background-color: #2a2a2a;
    position: relative;
}

.preview-cell.mine::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff0066;
    border-radius: 50%;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 50px;
    text-align: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: #ff0066;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 50px;
    border-top: 1px solid rgba(255, 0, 102, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo .logo-text {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.footer-logo p {
    color: #666;
    font-size: 12px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

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

.footer-links a:hover,
.footer-legal a:hover {
    color: #ff0066;
}

/* Stats Section */
.stats-section {
    padding: 100px 50px;
    background-color: rgba(255, 0, 102, 0.02);
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 102, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #ff0066;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #ff0066;
    margin-bottom: 10px;
    font-family: 'Press Start 2P', cursive;
}

.stat-label {
    font-size: 16px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Difficulty Preview Section */
.difficulty-preview-section {
    padding: 100px 50px;
    text-align: center;
}

.difficulty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.difficulty-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 102, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.difficulty-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

.difficulty-card.easy::after {
    background-color: #00cc00;
}

.difficulty-card.medium::after {
    background-color: #ffcc00;
}

.difficulty-card.hard::after {
    background-color: #ff0000;
}

.difficulty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.difficulty-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Press Start 2P', cursive;
}

.difficulty-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    color: #cccccc;
    font-size: 14px;
}

.difficulty-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.preview-grid {
    display: grid;
    gap: 1px;
    background-color: #2a2a2a;
    padding: 5px;
    border-radius: 5px;
}

.easy-grid {
    grid-template-columns: repeat(5, 1fr);
}

.medium-grid {
    grid-template-columns: repeat(7, 1fr);
}

.hard-grid {
    grid-template-columns: repeat(9, 1fr);
}

.easy-grid, .medium-grid, .hard-grid {
    width: 150px;
    height: 150px;
}

.difficulty-button {
    display: inline-block;
    background-color: #ff0066;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.difficulty-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.6);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 50px;
    background-color: rgba(255, 0, 102, 0.1);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'Press Start 2P', cursive;
}

.newsletter-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    min-width: 300px;
    flex: 1;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #ff0066;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.3);
}

.newsletter-form input[type="email"]::placeholder {
    color: #999;
}

.subscribe-button {
    padding: 15px 30px;
    background-color: #ff0066;
    color: #ffffff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .game-title {
        font-size: 48px;
    }
    
    .game-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-section,
    .preview-section,
    .testimonials-section,
    .footer {
        padding: 60px 20px;
    }
    
    .preview-section {
        flex-direction: column;
    }
    
    /* Stats Section Responsive */
    .stats-section {
        padding: 60px 20px;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    /* Difficulty Preview Section Responsive */
    .difficulty-preview-section {
        padding: 60px 20px;
    }
    
    .difficulty-cards {
        gap: 20px;
    }
    
    .difficulty-card {
        padding: 20px;
    }
    
    .difficulty-card h3 {
        font-size: 20px;
    }
    
    .difficulty-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .easy-grid, .medium-grid, .hard-grid {
        width: 120px;
        height: 120px;
    }
    
    /* Newsletter Section Responsive */
    .newsletter-section {
        padding: 60px 20px;
    }
    
    .newsletter-content h2 {
        font-size: 24px;
    }
    
    .newsletter-content p {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 36px;
    }
    
    .play-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .preview-cell {
        width: 30px;
        height: 30px;
    }
    
    /* Stats Section Mobile */
    .stats-section {
        padding: 50px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Difficulty Preview Section Mobile */
    .difficulty-preview-section {
        padding: 50px 15px;
    }
    
    .difficulty-card h3 {
        font-size: 18px;
    }
    
    .easy-grid, .medium-grid, .hard-grid {
        width: 100px;
        height: 100px;
    }
    
    .difficulty-button {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    /* Newsletter Section Mobile */
    .newsletter-section {
        padding: 50px 15px;
    }
    
    .newsletter-content h2 {
        font-size: 20px;
    }
    
    .newsletter-form input[type="email"],
    .subscribe-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}