:root {
    --color-gold: #eebb77;
    --color-gold-light: #fff0c0;
    --color-gold-dark: #aa8040;
    --color-bg-dark: #0f0b08;
    --color-text-main: #e0e0e0;
    --color-telegram: #2ea6db;
    --color-telegram-dark: #2280aa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Roboto', sans-serif;
    --spacing-unit: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Layer */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/bg-tea-v2.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.background-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 80%);
}

/* Main Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
    /* Optional: Add a slight backdrop for readability on Desktop if needed, 
       but for now keeping it transparent to match mockup */
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-weight: bold;
}

/* Typography & Gold Effects */
h1,
h2,
.logo-text {
    font-family: var(--font-heading);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #cccccc;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Header / Hero */
.hero {
    margin-bottom: 3rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(238, 187, 119, 0.4));
}

.subtitle {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(to bottom, var(--color-telegram), var(--color-telegram-dark));
    color: white;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 166, 219, 0.4);
}

.icon-telegram {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.6;
}

.divider span {
    padding: 0 1rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    /* golden border circle */
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    background: radial-gradient(circle, rgba(238, 187, 119, 0.1), transparent);
    box-shadow: 0 0 10px rgba(238, 187, 119, 0.2);
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-item span {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.2;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    border-radius: 30px;
    border: 1px solid rgba(238, 187, 119, 0.2);
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #b92b27, #150300);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.step-item span {
    font-size: 1.0rem;
    text-align: left;
    color: #eee;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
}

.benefits-list li {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: var(--color-gold-light);
}

/* Footer links */
.footer-links {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-legal {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(238, 187, 119, 0.1);
    padding-top: 1rem;
}

.footer-legal p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--color-gold);
}

/* Media Queries for better Desktop adaptation if needed */
/* Since we centered the container, it naturally works on desktop, 
   but we might want to make items slightly larger on very small screens */
@media (max-width: 360px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Games Collection Section */
.games-collection {
    padding: 0;
    margin-bottom: 1rem;
    position: relative;
    /* optional: subtle background highlight */
    background: radial-gradient(circle at center, rgba(238, 187, 119, 0.05) 0%, transparent 70%);
}

.games-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.games-image-container {
    flex: 0 0 auto;
    width: 45%;
    /* Restrict width */
    display: flex;
    justify-content: flex-end;
}

.app-preview-img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    /* Reduced for side-by-side */
    /* Keep it reasonable */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    /* floaty animation effect */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.games-text-container {
    flex: 1;
    padding-left: 0.5rem;
}

.games-title {
    font-size: 1.8rem;
    /* Matches H1 size */
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: center;
    /* Center on mobile by default */
}

.games-subtitle {
    font-size: 1.1rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 300;
}

.games-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.games-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.games-slogan {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    /* Stretched effect */
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid rgba(238, 187, 119, 0.3);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
    /* Ensure full width for centering */
}

/* Tablet and Desktop Styles: Removed to maintain centered vertical layout */
@media (min-width: 768px) {
    /* Kept empty or minimal to preserve global centering */
}