:root {
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FFD23F;
    --background-color: #F8F9FA;
    --text-color: #2C3E50;
    --light-text: #FFFFFF;
    --card-bg: #FFFFFF;
    --hover-color: #FF8E53;
    --nav-bg: #2C3E50;
    --btn-bg: #FF6B35;
    --btn-hot: #EF476F;
    --btn-new: #06D6A0;
    --border-radius: 15px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

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

.top-nav, .site-footer {
    background: linear-gradient(135deg, var(--nav-bg) 0%, #34495e 100%);
    color: var(--light-text);
    padding: 15px 30px;
    box-shadow: var(--shadow);
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.btn.hot { background: linear-gradient(45deg, var(--btn-hot), #ff6b9d); }
.btn.new { background: linear-gradient(45deg, var(--btn-new), #4ecdc4); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.section {
    background: var(--card-bg);
    margin: 15px 0;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.section.full-width {
    padding: 0;
    margin-bottom: 15px;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    margin-top: 0;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tip {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--btn-hot);
}

.tip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* How to Play Steps */
.how-to-play-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.step {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--btn-new);
    position: relative;
}

.step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--btn-new);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.how-to-play-steps {
    counter-reset: step-counter;
}

/* FAQ Styles */
.faq-item {
    background: #f8f9fa;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin: 0;
    padding: 20px;
    font-size: 1.1rem;
}

.faq-item p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
}

.game-container {
    display: flex;
    gap: 20px;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-iframe {
    position: relative;
    flex-grow: 1;
    min-height: 500px;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.9) 0%,
        rgba(247, 147, 30, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.game-preview {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 700;
}

.game-card p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1em;
}

.play-btn {
    padding: 15px 40px;
    font-size: 18px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.play-btn:active {
    transform: scale(0.98);
}

.domain-name {
    color: var(--text-color);
    font-size: 1.1em;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
}

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

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

.domain-name {
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.game-iframe iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: var(--border-radius);
    border: none;
}

/* Footer Styles */
.site-footer {
    text-align: center;
    margin-top: 50px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.footer-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.language-switcher {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.language-switcher a {
    padding: 5px 10px !important;
    font-size: 14px;
    border-radius: 15px;
}

.footer-disclaimer {
    margin: 20px 0 0 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 25px;
        margin: 20px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .game-iframe {
        min-height: 400px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-switcher {
        justify-content: center;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .game-card {
        padding: 30px 20px;
    }
    
    .game-title-controls {
        flex-direction: column;
        gap: 15px;
        padding: 8px 12px;
    }
    
    .game-title-controls h1 {
        font-size: 1.2rem;
        margin: 0;
    }
    
    .game-controls {
        order: 2;
    }
    
    .fullscreen-btn {
        order: 3;
        padding: 5px 10px;
        font-size: 10px;
        align-self: center;
    }
    
    .social-share {
        gap: 5px;
    }
    
    .social-btn {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 20px;
    }
    
    .top-nav, .site-footer {
        padding: 10px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature, .tip, .step {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .game-card h2 {
        font-size: 1.4em;
    }
}

/* Game Title and Controls */
.game-title-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: rgba(248, 249, 250, 0.8);
    border-top: 1px solid #e9ecef;
}

.game-title-controls h1 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: initial;
    flex-shrink: 0;
}

.game-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.social-share {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.social-share span {
    margin-right: 4px;
    color: #666;
    font-weight: 600;
    font-size: 11px;
}

.fullscreen-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
    flex-shrink: 0;
}

.fullscreen-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.4);
}

.social-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-btn.twitter {
    color: #1da1f2;
    border-color: #1da1f2;
}

.social-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-btn.facebook {
    color: #4267b2;
    border-color: #4267b2;
}

.social-btn.facebook:hover {
    background: #4267b2;
    color: white;
}

.social-btn.copy {
    color: #28a745;
    border-color: #28a745;
}

.social-btn.copy:hover {
    background: #28a745;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    
    .logo svg {
        width: 200px;
        height: 30px;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links .btn {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 16px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        margin: 10px 0;
        padding: 20px;
    }
    
    .game-title-controls {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .game-title-controls h1 {
        font-size: 1.8rem;
    }
    
    .social-share {
        justify-content: center;
    }
    
    .features-grid,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .how-to-play-steps .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .logo svg {
        width: 160px;
        height: 25px;
    }
    
    .game-title-controls h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}