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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e8e8e8;
    background: linear-gradient(135deg, #0a1628 0%, #1a0a2e 50%, #16213e 100%);
    background-attachment: fixed;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 33% 90%, rgba(255, 215, 0, 0.3), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

@keyframes particleMove {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 0% 50%;
    }
}

/* Shooting star effect */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: shootingStar 15s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shootingStar {
    0% {
        transform: translate(0, 0) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

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

/* Header */
.header {
    background: rgba(15, 52, 96, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

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

.nav-menu a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-menu a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

/* Banner Section */
.banner {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.6) 0%, rgba(26, 10, 46, 0.6) 100%);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.banner-content {
    text-align: center;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-btn-primary {
    background: #4CAF50;
    color: #ffffff;
    border: 2px solid #4CAF50;
}

.banner-btn-primary:hover {
    background: #45a049;
    border-color: #45a049;
}

.banner-btn-secondary {
    background: rgba(15, 52, 96, 0.6);
    color: #ffd700;
    border: 2px solid #ffd700;
    backdrop-filter: blur(10px);
}

.banner-btn-secondary:hover {
    background: rgba(15, 52, 96, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.banner-btn-secondary:hover {
    background: #333;
    color: #ffffff;
}

/* Main Title */
.main-title {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.4) 0%, rgba(26, 10, 46, 0.4) 100%);
    position: relative;
    overflow: hidden;
}

.game-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    animation: titleGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3);
    }
}

/* Game Stats Table */
.game-stats {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.5) 0%, rgba(15, 52, 96, 0.5) 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.stats-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stats-table tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.stats-table tr:last-child {
    border-bottom: none;
}

.stats-table td {
    padding: 16px 20px;
    font-size: 1rem;
}

.stats-table td:first-child {
    font-weight: 600;
    color: #e8e8e8;
    width: 50%;
}

.stats-table td:last-child {
    font-weight: 700;
    color: #ffd700;
    text-align: right;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Main Content */
.main-content,
.play-section,
.features-section,
.rtp-section,
.strategy-section,
.demo-section,
.screenshots-section,
.languages-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.3) 0%, rgba(26, 10, 46, 0.3) 100%);
    position: relative;
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.content-text {
    font-size: 1.0625rem;
    color: #e8e8e8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-text strong {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin: 40px 0 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Details Table */
.details-table {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-collapse: collapse;
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.details-table tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.details-table tr:last-child {
    border-bottom: none;
}

.details-table td {
    padding: 16px 20px;
    font-size: 1rem;
}

.details-table td:first-child {
    font-weight: 600;
    color: #e8e8e8;
    width: 50%;
}

.details-table td:last-child {
    color: #ffd700;
    text-align: right;
}

/* Lists */
.steps-list,
.features-list {
    margin: 20px 0 30px 40px;
    color: #e8e8e8;
    line-height: 1.8;
}

.steps-list li,
.features-list li {
    margin-bottom: 12px;
    font-size: 1.0625rem;
}

.steps-list li strong,
.features-list li strong {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 40px 0;
}

.cta-button-large {
    display: inline-block;
    background: #4CAF50;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #4CAF50;
}

.cta-button-large:hover {
    background: #45a049;
    border-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* RTP Table */
.rtp-table {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-collapse: collapse;
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.rtp-table thead {
    background: rgba(255, 215, 0, 0.2);
}

.rtp-table th {
    padding: 16px 20px;
    font-size: 1rem;
    text-align: left;
    color: #ffd700;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rtp-table td {
    padding: 14px 20px;
    font-size: 1rem;
    color: #e8e8e8;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.rtp-table tr:last-child td {
    border-bottom: none;
}

.rtp-table td:first-child {
    font-weight: 600;
    color: #ffd700;
}

.rtp-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Demo Section */
.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.demo-play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    min-height: 400px;
    background: #f8f8f8;
    border: 3px solid #4CAF50;
    border-radius: 10px;
    padding: 60px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-play-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #45a049;
}

.demo-button-icon {
    font-size: 5rem;
    margin-bottom: 24px;
}

.demo-button-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.demo-button-subtext {
    font-size: 1rem;
    color: #e8e8e8;
}

/* Screenshots Section */
.screenshots-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 rgba(76, 175, 80, 0.2);
}

.screenshots-grid::-webkit-scrollbar {
    height: 8px;
}

.screenshots-grid::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
}

.screenshots-grid::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.screenshots-grid::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.screenshot-card {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 52, 96, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screenshot-card:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.screenshot-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    object-fit: contain;
}

.screenshot-placeholder {
    width: 100%;
    min-height: 300px;
    background: rgba(15, 52, 96, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 215, 0, 0.3);
}

.screenshot-label {
    color: #ffd700;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Languages Section */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.language-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.language-item:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) scale(1.05);
    background: rgba(15, 52, 96, 0.8);
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 12px;
}

.language-name {
    color: #e8e8e8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Licenses Section */
.licenses-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.5) 0%, rgba(15, 52, 96, 0.5) 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.licenses-description {
    text-align: center;
    font-size: 1.0625rem;
    color: #e8e8e8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.licenses-divider {
    width: 100%;
    height: 2px;
    background: #4CAF50;
    margin: 0 auto 40px;
    max-width: 1000px;
}

.licenses-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 rgba(76, 175, 80, 0.2);
}

.licenses-grid::-webkit-scrollbar {
    height: 8px;
}

.licenses-grid::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
}

.licenses-grid::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.licenses-grid::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(15, 52, 96, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 150px;
    min-width: 200px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.license-item:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) scale(1.05);
    background: rgba(15, 52, 96, 0.8);
}

.license-logo {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #ffd700;
    font-weight: 700;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.license-name {
    color: #e8e8e8;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(19, 26, 33, 0.95) 100%);
    color: #e8e8e8;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.footer-text {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-warning,
.footer-disclaimer {
    font-size: 1.125rem;
    color: #ffffff;
    margin: 30px 0 15px;
    font-weight: 700;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #45a049;
}

.footer-copyright {
        font-size: 0.875rem;
    color: #999;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        gap: 20px;
        font-size: 0.875rem;
    }

    .game-title {
        font-size: 2.5rem;
    }

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

    .banner-btn {
        width: 100%;
        max-width: 300px;
    }

    .content-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .stats-table,
    .details-table,
    .rtp-table {
        font-size: 0.9rem;
    }

    .stats-table td,
    .details-table td,
    .rtp-table td {
        padding: 12px 16px;
    }

    .screenshot-card {
        max-width: 100%;
    }

    .screenshot-image {
        max-height: 400px;
    }

    .licenses-grid {
        gap: 16px;
    }

    .license-item {
        min-width: 160px;
        padding: 24px 16px;
    }

    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    }

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

    .content-title {
        font-size: 1.5rem;
    }

    .cta-button-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .screenshot-card {
        max-width: 100%;
    }

    .screenshot-image {
        max-height: 350px;
    }

    .license-item {
        min-width: 140px;
        min-height: 130px;
    }
}
