html {
	scroll-behavior: smooth;
}

/* Font Face Declarations */
@font-face {
    font-family: 'Inter';
    src: url('./inter.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans';
    src: url('./sourcesans.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0A2022;
    min-height: 100vh;
}

/* Heading Font Family */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 32px;
    padding: 0 16px;
    box-sizing: content-box;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 32px;
}

/* Navigation Header */
.header {
    width: min(872px, 100%);
    position: relative;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F7F7F7;
    border-radius: 16px;
    padding: 8px 12px;
}

.logo {
    display: flex;
    align-items: center;
    color: #1a2332;
}

.logo-image {
    height: 58px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-signup {
    background: #f8f9fa;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #1a2332 !important;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.nav-signup:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1320px;
    background-color: #073034;
    align-items: center;
    border-radius: 0 0 24px 24px;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.1;
    color: #B7A2F1;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #A6EDDD;
    letter-spacing: -2%;
}

.hero-description {
    font-size: 18px;
    line-height: 1.4;
    color: #A6EDDD;
    max-width: 640px;
    letter-spacing: -2%;
}

.cta-button, .secondary-cta {
    background-color: #FFFFFF;
    color: #414D35;
    border: 1px solid rgba(28, 70, 80, 0.10);
    padding: 12px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.36px;
}

.cta-button:hover, .secondary-cta:hover {
    opacity: 0.8;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 327px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    color: #B2F10C;
}

.feature-card p {
    color: #A6EDDD;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
}

.feature-card strong {
    color: #A6EDDD;
    font-weight: 700;
}

/* Secondary Section */

.secondary-content {
    display: flex;
}

.secondary-text {
    padding-right: 40px;
    padding-top: 60px;
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.secondary-text h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 120%;
    color: #B7A2F1;
}

.secondary-description {
    font-size: 18px;
    line-height: 140%;
    color: #A6EDDD;
    letter-spacing: -2%;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -2%;
    color: #A6EDDD;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 24px;
    height: 24px;
}

/* Poker Card */
.poker-card-container {
    padding-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    min-height: 533px;
}

.card-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poker-card {
    max-height: 533px;
    position: absolute;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.king-card {
    z-index: 2;
    transform: rotate(-5deg) translateX(-20px);
}

.queen-card-wrapper {
    position: absolute;
    z-index: 1;
    transform: rotate(5deg) translateX(20px);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.queen-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.queen-card {
    position: relative;
    z-index: 0;
}

.card-stack:hover .king-card {
    transform: rotate(-15deg) translateX(-40px);
}

.card-stack:hover .queen-card-wrapper {
    transform: rotate(15deg) translateX(40px);
}

.card-stack:hover .queen-card-wrapper::before {
    opacity: 0;
}

/* Third Section */
.third-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.third-header h2 {
    font-size: 32px;
    line-height: 120%;
    color: #B2F10C;
}

.third-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.third-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.third-body-item {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 24px;
    background: #F7F7F7;
    color: #073034;
    width: 100%;

}

.third-body-item .left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 0 0;
}

.third-body-item .left h3 {
    font-size: 32px;
    line-height: 120%;
}

.third-body-item .left p {
    font-size: 18px;
    line-height: 140%;
    opacity: 0.5;
}

.third-body-item .right h3 {
    font-size: 32px;
    line-height: 120%;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 400px;
}
footer .logo-image {
    height: 42px;
    width: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-content p {
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -2%;
    color: #A6EDDD;
    text-align: center;
}

.footer-content a {
    color: #A6EDDD;
    transition: 0.3s ease;
}

.footer-content a:hover {
    opacity: 0.5;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu .hide {
        display: none;
    }

    .nav-container .logo-image {
        height: 40px;
    }

    /* Hero Section */
    .hero-section {
        padding: 24px 16px;
    }

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

    /* Feature Cards */
    .feature-cards {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* Secondary Section */
    .secondary-content {
        display: flex;
        flex-direction: column;

    }
    
    .secondary-text {
        padding-right: 0px;
        padding-top: 60px;
    }
    
    .secondary-text h2 {
        font-size: 32px;
    }

    /* Third Section */
    .third-body-item .left h3 {
        font-size: 24px;
    }
    
    .third-body-item .right h3 {
        font-size: 24px;
        line-height: 120%;
    }

    /* Footer */
    footer {
        margin-top: 60px;
    }

    /* Poker Card */
    .card-stack {
        scale: 0.8;
    }


}