/* ===== Tk1971bd ফ্লাইট রাডার গেম — স্টাইলশীট ===== */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

.section {
    padding: 80px 0;
}

.section__title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
}

.highlight {
    color: #e94560;
}

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}

.header:hover {
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo__icon {
    font-size: 1.8rem;
}

.logo__text {
    color: #1a1a2e;
}

.logo__text--light {
    color: #fff;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    transition: color 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav__link:hover,
.nav__link--active {
    color: #e94560;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    gap: 12px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: #e94560;
    color: #fff;
    border-color: #e94560;
}

.btn--primary:hover {
    background: #d63851;
    border-color: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233,69,96,0.3);
}

.btn--outline {
    background: transparent;
    color: #e94560;
    border-color: #e94560;
}

.btn--outline:hover {
    background: #e94560;
    color: #fff;
    transform: translateY(-2px);
}

.btn--lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn--xl {
    padding: 18px 32px;
    font-size: 1.1rem;
    flex-direction: column;
}

.btn--full {
    width: 100%;
}

/* ---- HAMBURGER ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- HERO ---- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,69,96,0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,26,46,0.03) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero__content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero__sub-label {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero__title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a2e;
}

.hero__highlight {
    color: #e94560;
}

.hero__desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 680px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 50px;
}

.hero__stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
}

.hero__stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* ---- FEATURES ---- */
.features {
    background: #fff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #e94560;
}

.feature-card__icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.feature-card__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ---- HOW TO PLAY ---- */
.howto {
    background: #f8f9ff;
}

.howto__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-4px);
}

.step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #d63851);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step__title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.step__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* ---- CTA ---- */
.cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.cta__title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta__desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn--outline {
    border-color: #fff;
    color: #fff;
}

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

/* ---- TESTIMONIALS ---- */
.testimonials {
    background: #fff;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 36px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card__stars {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.testimonial-card__name {
    display: block;
    font-weight: 700;
    color: #1a1a2e;
}

.testimonial-card__title {
    font-size: 0.85rem;
    color: #999;
}

/* ---- PAGE HERO ---- */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9ff, #fff);
    text-align: center;
}

.page-hero__title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.page-hero__desc {
    font-size: 1.1rem;
    color: #666;
}

/* ---- ABOUT ---- */
.about-intro {
    background: #fff;
}

.about-intro__content {
    max-width: 850px;
    margin: 0 auto;
}

.about-intro h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
    color: #1a1a2e;
}

.about-intro h2:first-child {
    margin-top: 0;
}

.about-intro p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: 700;
}

/* ---- GAMEPLAY ---- */
.gameplay {
    background: #fff;
}

.gameplay__section {
    max-width: 900px;
    margin: 0 auto 60px;
}

.gameplay__section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    padding-bottom: 12px;
    border-bottom: 3px solid #e94560;
}

.gameplay__section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.gameplay-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.gameplay-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: 700;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.control-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #eee;
}

.control-card h4 {
    font-size: 1rem;
    color: #e94560;
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 1.1rem;
}

.control-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #666;
}

.mode-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    border-left: 4px solid #e94560;
}

.mode-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.mode-card p {
    margin-bottom: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.tip-card__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.tip-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.tip-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

/* ---- DOWNLOAD ---- */
.download {
    background: #fff;
}

.download__intro {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.download__intro h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.download__intro p {
    color: #555;
    line-height: 1.8;
}

.download__requirements h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 36px;
}

.reqs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.req-card {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 28px 20px;
    border: 1px solid #eee;
}

.req-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: center;
}

.req-card ul {
    list-style: none;
}

.req-card li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.req-card li:last-child {
    border-bottom: none;
}

.download__buttons {
    text-align: center;
    margin-bottom: 60px;
}

.download__buttons h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.download__buttons > p {
    color: #666;
    margin-bottom: 36px;
}

.dl-btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.dl-icon {
    font-size: 2rem;
}

.dl-small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.dl-big {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.download__info {
    max-width: 700px;
    margin: 0 auto;
}

.download__info h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 36px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f8f9ff;
    padding: 20px 28px;
    border-radius: 12px;
}

.install-step__num {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e94560;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.install-step p {
    color: #555;
    line-height: 1.7;
    padding-top: 8px;
}

/* ---- LOGIN ---- */
.login-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.login-card--alt {
    background: #f8f9ff;
}

.login-card__header {
    text-align: center;
    margin-bottom: 32px;
}

.login-card__logo {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.login-card__header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.login-card__header p {
    color: #666;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #e94560;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.forgot-link {
    font-size: 0.9rem;
    color: #e94560;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-card__footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.login-card__footer a {
    color: #e94560;
    font-weight: 600;
}

.login-card__footer a:hover {
    text-decoration: underline;
}

.login-benefits {
    list-style: none;
    text-align: left;
}

.login-benefits li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #eee;
}

.login-card--alt .btn {
    margin-top: 24px;
}

.login-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 16px;
    text-align: center;
    line-height: 1.6;
}

/* ---- FAQ ---- */
.faq {
    background: #fff;
}

.faq__category {
    max-width: 850px;
    margin: 0 auto 50px;
}

.faq__cat-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #1a1a2e;
    padding-bottom: 12px;
    border-bottom: 3px solid #e94560;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-item__question {
    width: 100%;
    padding: 20px 28px;
    background: #f8f9ff;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background 0.3s;
}

.faq-item__question:hover {
    background: #f0f1ff;
}

.faq-item__icon {
    font-size: 1.5rem;
    color: #e94560;
    font-weight: 300;
    transition: transform 0.3s;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-item__answer p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.faq__cta {
    max-width: 700px;
    margin: 60px auto 0;
    text-align: center;
    padding: 40px;
    background: #f8f9ff;
    border-radius: 16px;
}

.faq__cta p {
    color: #555;
    line-height: 1.8;
}

/* ---- FOOTER ---- */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__about p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 16px;
    color: #999;
}

.footer__links h4,
.footer__contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: #999;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: #e94560;
}

.footer__contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #999;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer__social a:hover {
    background: #e94560;
    transform: translateY(-3px);
}

.footer__bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features__grid,
    .howto__steps,
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .reqs-grid { grid-template-columns: repeat(2, 1fr); }
    .controls-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .header__actions { display: none; }
    .hamburger { display: flex; }

    .nav--open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .nav--open .nav__list {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .hero__title { font-size: 2.2rem; }
    .hero__stats { flex-direction: column; gap: 20px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .features__grid,
    .howto__steps,
    .testimonials__grid { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; }

    .login-wrapper { grid-template-columns: 1fr; }

    .dl-btn-group { grid-template-columns: 1fr; }

    .reqs-grid { grid-template-columns: 1fr; }

    .tips-grid { grid-template-columns: 1fr; }

    .controls-grid { grid-template-columns: repeat(2, 1fr); }

    .section__title { font-size: 1.8rem; }
    .page-hero__title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 130px 0 60px; }
    .hero__title { font-size: 1.8rem; }
    .section { padding: 50px 0; }
    .controls-grid { grid-template-columns: repeat(2, 1fr); }
    .control-card { padding: 14px; }
}
