/**
 * Dabet Theme Stylesheet
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Header */
.dabet-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

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

.primary-nav .nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.primary-nav .nav-menu a:hover {
    color: #ffd700;
}

.primary-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

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

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login {
    color: #fff;
    border: 2px solid #ffd700;
}

.btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero-section,
.page-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1,
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary,
.btn-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.btn-primary:hover,
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background: #fff;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #16213e;
}

section p {
    margin-bottom: 15px;
    color: #555;
}

/* Grids */
.features-grid,
.games-grid,
.benefits-content,
.steps-grid,
.cards-grid,
.promos-grid,
.calendar-grid,
.info-grid,
.services-grid,
.download-grid,
.features-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cards */
.feature-card,
.game-item,
.benefit-item,
.step-card,
.guide-card,
.promo-card,
.info-card,
.service-item,
.download-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.game-item:hover,
.benefit-item:hover,
.step-card:hover,
.guide-card:hover,
.promo-card:hover,
.info-card:hover,
.service-item:hover,
.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    color: #fff;
    text-align: center;
}

.cta-section h2 {
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.dabet-footer {
    background: #0f0f1e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-content h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-content p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.footer-seo {
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Specific Styles */
.page-hero {
    padding: 80px 0;
}

.page-hero h1 {
    font-size: 2.5rem;
}

/* Login Page */
.login-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.login-form-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-form-box h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-link {
    color: #0f3460;
}

.forgot-link:hover {
    color: #ffd700;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #0f3460;
    font-weight: 600;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffd700 0%, #ffed4e 100%);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1a1a2e;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    flex: 1;
}

/* Promo Cards */
.promo-card {
    position: relative;
    overflow: hidden;
}

.promo-card.featured {
    border: 2px solid #ffd700;
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.promo-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.btn-promo {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-promo:hover {
    transform: translateY(-2px);
}

/* Comparison Table */
.comparison-table {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
}

.comparison-row.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-weight: 600;
}

.comparison-row:last-child {
    border-bottom: none;
}

.col-feature {
    font-weight: 600;
}

.available {
    color: #2ed573;
    font-weight: 600;
}

.unavailable {
    color: #ff4757;
}

.comparison-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* Steps */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Tips */
.tip-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ffd700;
}

/* Image Styles */
.brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.brand-image img,
.login-image img,
.form-image img,
.guide-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.game-item img,
.promo-card img,
.download-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.promo-card img {
    margin: -30px -30px 20px -30px;
    width: calc(100% + 60px);
    border-radius: 15px 15px 0 0;
}

.login-wrapper {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.guide-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .features-grid,
    .games-grid,
    .benefits-content,
    .steps-grid,
    .cards-grid,
    .promos-grid,
    .calendar-grid,
    .info-grid,
    .services-grid,
    .download-grid,
    .features-comparison {
        grid-template-columns: 1fr;
    }

    .brand-content,
    .login-wrapper,
    .form-wrapper,
    .guide-intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-image img,
    .login-image img,
    .form-image img,
    .guide-intro-image img {
        max-height: 300px;
        object-fit: cover;
    }

    .game-item img,
    .promo-card img,
    .download-card img {
        height: 180px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .comparison-row.header {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .page-hero {
        padding: 60px 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .login-form-box {
        padding: 25px;
    }
}
