/*
 * Dabet Theme Styles
 * Structure B Header
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

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

.nav-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.desktop-links .horizontal-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: capitalize;
}

.desktop-links .horizontal-list a:hover {
    color: #ffd700;
}

.auth-section {
    display: flex;
    gap: 15px;
}

.entry-btn,
.join-btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.entry-btn:hover {
    background: #fff;
    color: #1a1a2e;
}

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

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

.mobile-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar-item {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

.mobile-panel {
    display: none;
    background: #1a1a2e;
    padding: 20px;
}

.mobile-panel.active {
    display: block;
}

.mobile-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-list a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-auth {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-auth a {
    text-align: center;
}

/* Main Content */
.main-content {
    min-height: 500px;
}

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

.hero-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffd700;
}

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

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

.primary-cta,
.secondary-cta {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.secondary-cta {
    border: 2px solid #fff;
    color: #fff;
}

.primary-cta:hover,
.secondary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffd700;
}

.page-desc {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

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

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

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a2e;
    text-align: center;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.subsection-title {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #16213e;
}

/* Content Text */
.intro-text,
.content-text {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
}

/* Tables */
.timeline-table,
.comparison-table,
.response-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.timeline-table th,
.timeline-table td,
.comparison-table th,
.comparison-table td,
.response-table th,
.response-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.timeline-table th,
.comparison-table th,
.response-table th {
    background: #1a1a2e;
    color: #ffd700;
    font-weight: 600;
}

.timeline-table tr:hover,
.comparison-table tr:hover,
.response-table tr:hover {
    background: #f9f9f9;
}

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

.feature-item,
.benefit-card,
.category-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-item:hover,
.benefit-card:hover,
.category-item:hover {
    transform: translateY(-5px);
}

.feature-title,
.benefit-title,
.category-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.feature-text,
.benefit-text,
.category-text {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffd700;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    color: #333;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

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

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

.faq-question {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.faq-answer {
    color: #666;
    line-height: 1.7;
}

/* Forms */
.form-section {
    padding: 60px 0;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a2e;
    text-align: center;
}

.form-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

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

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

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me,
.terms-check {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-footer a {
    color: #0f3460;
    text-decoration: none;
    font-weight: 600;
}

/* Steps */
.steps-grid,
.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item,
.step-block {
    text-align: center;
    padding: 30px;
}

.step-number,
.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.step-text {
    color: #666;
    line-height: 1.6;
}

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

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

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

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

/* Tips */
.tips-list {
    max-width: 800px;
    margin: 30px auto;
}

.tips-item {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #ffd700;
}

/* Game Cards */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.game-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.game-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.game-tips {
    list-style: none;
    padding-left: 0;
}

.game-tips li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.game-tips li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Troubleshoot */
.troubleshoot-list {
    max-width: 900px;
    margin: 40px auto;
}

.trouble-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.trouble-title {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.trouble-solution {
    color: #666;
    line-height: 1.7;
}

/* Promotions */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.promo-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.promo-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.promo-value {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.promo-link {
    padding: 10px 20px;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.promo-link:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.contact-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-note {
    display: inline-block;
    padding: 5px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #1a1a2e;
}

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

.tip-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tip-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.tip-text {
    color: #666;
    line-height: 1.7;
}

/* Footer */
.bottom-section {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-heading {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-text {
    color: #aaa;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.copyright-text {
    color: #666;
}

.seo-text {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-links {
        display: none;
    }

    .auth-section {
        display: none;
    }

    .mobile-trigger {
        display: flex;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .promo-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .form-wrapper {
        padding: 25px;
    }

    section {
        padding: 40px 0;
    }

    .hero-banner {
        padding: 60px 0;
    }
}

/* Image Styles */
.hero-image,
.brand-image,
.timeline-image,
.content-image,
.form-image,
.promo-image,
.guide-image,
.contact-image {
    margin: 30px 0;
    text-align: center;
}

.hero-image img,
.brand-image img,
.timeline-image img,
.content-image img,
.form-image img,
.promo-image img,
.guide-image img,
.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.feature-image {
    margin-bottom: 20px;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.hero-image img {
    max-height: 400px;
    object-fit: cover;
}

.form-image img {
    max-height: 250px;
    object-fit: cover;
}

.promo-image img,
.guide-image img,
.contact-image img {
    max-height: 300px;
    object-fit: cover;
}
