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

:root {
    --background: hsl(240, 10%, 3.9%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(240, 10%, 6%);
    --card-foreground: hsl(0, 0%, 98%);
    --primary: hsl(45, 93%, 47%);
    --primary-foreground: hsl(240, 10%, 3.9%);
    --secondary: hsl(30, 25%, 30%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(240, 4.8%, 15.9%);
    --muted-foreground: hsl(240, 5%, 64.9%);
    --border: hsl(240, 3.7%, 15.9%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: hsl(0, 0%, 88%);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p {
    font-family: Helvetica, Arial, sans-serif;
}

/* Page Container */
.page-wrapper {
    min-height: 100vh;
    background-color: hsl(0, 0%, 88%);
}

.container-main {
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--background);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navigation {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-content {
    max-width: 1920px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0px transparent);
    cursor: pointer;
}

.nav-logo:hover {
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.8));
    transform: rotate(12deg);
}

.nav-links {
    display: none;
    align-items: center;
    margin-top: -6px;
    margin-bottom: -6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 16px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    transform: skewX(-12deg);
    height: calc(100% + 12px);
    color: var(--foreground);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link-text {
    position: relative;
    z-index: 10;
    transform: skewX(12deg);
    transition: color 0.3s;
}

.nav-link:hover .nav-link-text {
    color: #ea580c;
}

.nav-link-bg {
    position: absolute;
    background-color: white;
    top: -22px;
    bottom: -22px;
    left: 0;
    right: 0;
    transform: scale(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.nav-link:hover .nav-link-bg {
    transform: scale(1);
}

.nav-divider {
    width: 1px;
    background-color: rgba(156, 163, 175, 0.4);
    transform: skewX(-12deg);
    height: calc(100% + 12px);
}

.nav-right {
    display: none;
    margin-top: -10px;
    margin-bottom: -10px;
}

@media (min-width: 768px) {
    .nav-right {
        display: flex;
    }
}

.download-btn {
    background-color: white;
    padding: 20px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
    color: #ea580c;
    transform: skewX(-12deg);
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #ea580c;
    color: white;
}

.download-btn span {
    transform: skewX(12deg);
    display: inline-block;
}

.mobile-menu-toggle {
    display: block;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.close-icon {
    display: none;
}

.mobile-menu-toggle.active .menu-icon {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    margin-top: 8px;
}

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

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-content {
    max-width: 1920px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-link {
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
    color: var(--foreground);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-link:hover {
    color: #ea580c;
}

.mobile-download-btn {
    background-color: white;
    padding: 8px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
    width: 100%;
    color: #ea580c;
    display: block;
    text-align: center;
    transform: skewX(-12deg);
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.mobile-download-btn:hover {
    background-color: #ea580c;
    color: white;
}

.mobile-download-btn span {
    transform: skewX(12deg);
    display: inline-block;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(1000px + 25vw);
    height: auto;
    z-index: 1;
    pointer-events: none;
    animation: dropIn 0.8s ease-out forwards;
}

@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -150%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    margin-top: 484px;
}

.hero-center {
    margin: 0 16px;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CTA Button */
.cta-button {
    color: black;
    font-weight: 700;
    padding: 12px 32px;
    font-size: 16px;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: skewX(-15deg);
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset -2px -2px 8px rgba(255, 255, 255, 0.4),
        inset 2px 2px 8px rgba(0, 0, 0, 0.2),
        2px 2px 0px #d97706,
        4px 4px 0px #b45309,
        6px 6px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(145deg, #fde047 0%, #fbbf24 100%);
    box-shadow: 
        0 0 25px rgba(251, 191, 36, 0.9),
        0 0 40px rgba(251, 191, 36, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.6),
        inset -2px -2px 8px rgba(255, 255, 255, 0.5),
        inset 2px 2px 8px rgba(0, 0, 0, 0.1),
        2px 2px 0px #d97706,
        4px 4px 0px #b45309,
        6px 6px 12px rgba(0, 0, 0, 0.25);
}

.cta-button:hover .cta-content {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 255, 255, 0.6);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 8px;
    transform: skewX(15deg);
}

/* Platform Section */
.platform-section {
    padding: 12px 0;
    background-color: white;
    color: black;
}

.platform-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.platform-icons {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: center;
}

.platform-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.platform-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Feature Sections */
.feature-section-a,
.feature-section-b,
.feature-section-c,
.reward-section {
    position: relative;
    overflow: hidden;
    height: 779px;
}

.feature-section-b {
    background-color: hsl(210, 20%, 98%);
}

.feature-section-c,
.reward-section {
    background-color: var(--card);
}

.section-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.section-overlay-right,
.section-overlay-left {
    display: none;
    position: absolute;
    z-index: 10;
    width: 50%;
    height: auto;
}

@media (min-width: 768px) {
    .section-overlay-right,
    .section-overlay-left {
        display: block;
    }
}

.section-overlay-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-overlay-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

@media (min-width: 768px) {
    .section-content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0;
    }
    
    .feature-section-b .section-content {
        justify-content: flex-end;
    }
}

.section-overlay-mobile {
    display: block;
    width: 100%;
    max-width: 384px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .section-overlay-mobile {
        display: none;
    }
}

.section-image-mobile {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-text-left,
.section-text-right {
    width: 100%;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .section-text-left {
        width: 40%;
        padding: 0;
        margin-left: 64px;
    }
    
    .section-text-right {
        width: 50%;
        padding: 0;
        margin-right: 64px;
    }
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
    transform: skewY(-2deg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    color: white;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
        margin-bottom: 24px;
    }
}

.section-title-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
    color: white;
    transform: skewY(-2deg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
    .section-title-large {
        font-size: 60px;
    }
}

.section-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

.section-description {
    font-size: 16px;
    color: white;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 18px;
    }
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .section-cta {
        justify-content: flex-start;
        margin-top: 32px;
    }
}

.section-divider {
    background: white;
    height: 1px;
}

/* News Section */
.news-section {
    padding: 96px 0;
    background: linear-gradient(135deg, hsl(214, 100%, 97%) 0%, hsl(270, 100%, 98%) 100%);
    color: black;
}

.news-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.news-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: hsl(0, 0%, 20%);
}

.news-link {
    color: #ea580c;
    font-weight: 600;
    transition: color 0.3s;
    text-decoration: none;
}

.news-link:hover {
    color: #c2410c;
}

.news-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid hsl(0, 0%, 88%);
}

.news-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-category {
    color: #ea580c;
    font-size: 14px;
    font-weight: 600;
}

.news-date {
    font-size: 14px;
    color: hsl(0, 0%, 40%);
    margin-top: 4px;
}

.news-article-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
    color: hsl(0, 0%, 20%);
    transition: color 0.3s;
    cursor: pointer;
}

.news-article-title:hover {
    color: #ea580c;
}

/* Footer */
.footer {
    padding: 64px 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-logo-img {
    height: 96px;
    width: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.social-link {
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary);
}

.footer-text {
    color: var(--muted-foreground);
}

.footer-link {
    color: var(--muted-foreground);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-version {
    color: rgba(163, 163, 163, 0.4);
    font-size: 12px;
    margin-top: 16px;
}

/* Support Page */
.support-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 48px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.support-title {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 16px;
    margin-top: 100px;
}

.support-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 12px;
    color: white;
    transform: skewY(-2deg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.support-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 1680px;
}

@media (min-width: 768px) {
    .support-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

.support-character-left {
    display: none;
}

@media (min-width: 768px) {
    .support-character-left {
        display: flex;
        width: 25%;
        justify-content: center;
        align-items: flex-start;
    }
}

.support-character-img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.support-form-wrapper {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .support-form-wrapper {
        width: 50%;
    }
}

.support-form-container {
    overflow: hidden;
    height: 1300px;
}

.support-iframe {
    width: 100%;
    margin-top: -220px;
}

.support-character-right {
    display: none;
}

@media (min-width: 768px) {
    .support-character-right {
        display: flex;
        width: 25%;
        justify-content: center;
        align-items: flex-start;
    }
}

.support-character-img-right {
    width: 150%;
    height: auto;
    object-fit: contain;
}

.support-back {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 16px;
}

.support-back-link {
    font-size: 20px;
    color: white;
    transition: color 0.3s;
    font-weight: 700;
    text-decoration: none;
}

.support-back-link:hover {
    color: var(--primary);
}
