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

:root {
    --color-bgMain: #1F1E1E;
    --color-bgSecondary: #2A2929;
    --color-bgFooter: #2A2929;
    --color-yellow: #FFD12D;
    --color-textMain: #FFFFFF;
    --color-textSecondary: rgba(255, 255, 255, 0.8);
    --color-textFineprint: #B4B4B4;
    --color-textDefaultButtonLabel: #1F1E1E;
    --color-border: rgba(255, 255, 255, 0.2);
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom right, rgb(14, 165, 233), rgb(6, 182, 212), rgb(52, 211, 153));
    min-height: 100vh;
    color: var(--color-textMain);
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-theme {
    background: linear-gradient(to bottom right, rgb(14, 165, 233), rgb(6, 182, 212), rgb(52, 211, 153));
    min-height: 100vh;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem 0.9rem;
    max-width: 1080px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 5.4rem;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    max-width: 280px;
    width: 100%;
    margin-bottom: 2.7rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.profile-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    z-index: -1;
}

.profile-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 18px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.8rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    z-index: -1;
}

.main-logo {
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14.4px;
}

/* Main Title */
.main-title {
    font-size: clamp(2.7rem, 7.2vw, 5.4rem);
    font-weight: 800;
    color: var(--color-textMain);
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

/* Tagline */
.tagline {
    font-size: clamp(1.0125rem, 2.25vw, 1.35rem);
    color: var(--color-textSecondary);
    margin-bottom: 2.7rem;
    font-weight: 400;
}

/* Start Button */
.start-button {
    display: inline-block;
    background-color: rgb(52, 211, 153);
    color: var(--color-textDefaultButtonLabel);
    font-size: clamp(1.0125rem, 2.25vw, 1.35rem);
    font-weight: 700;
    padding: 0.9rem 3.6rem;
    border-radius: 45px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 211, 153, 0.4);
}

.start-button:active {
    transform: translateY(0);
}

/* Info Section Styles */
.info-section {
    width: 100%;
    max-width: 1080px;
    margin-bottom: 5.4rem;
}

.brand-section {
    margin-bottom: 2.7rem;
}

.safety-section {
    width: 100%;
    max-width: 1080px;
    margin-bottom: 5.4rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 2.7rem;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    z-index: -1;
}

.info-item.reverse {
    flex-direction: row-reverse;
}

/* Mobile App Section - Reverse on desktop only */
@media (min-width: 768px) {
    .info-item.mobile-app-reverse {
        flex-direction: row-reverse;
    }
    
    /* Safety Section - Normal order on desktop (image left, text right) */
    .info-item.safety-normal {
        flex-direction: row;
    }
    
    /* Video Chat Section - Reverse on desktop only (image right, text left) */
    .info-item.video-chat-reverse {
        flex-direction: row-reverse;
    }
}

.info-item.column {
    flex-direction: column;
    text-align: center;
}

.info-image {
    flex: 0.8;
    min-width: 0;
    max-width: 400px;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 14.4px;
    object-fit: cover;
}

.info-content {
    flex: 1.2;
    min-width: 0;
}

.section-heading {
    font-size: clamp(1.575rem, 3.6vw, 2.25rem);
    font-weight: 700;
    color: var(--color-textMain);
    margin-bottom: 1.35rem;
}

.section-text {
    font-size: clamp(0.7875rem, 1.35vw, 0.9rem);
    color: var(--color-textSecondary);
    line-height: 1.8;
}

.section-text p {
    margin-bottom: 0.9rem;
}

.section-text p:last-child {
    margin-bottom: 0;
}

.section-text ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.section-text ul li {
    margin-bottom: 0.5rem;
    color: var(--color-textSecondary);
    line-height: 1.6;
}

.section-text strong {
    color: var(--color-textMain);
    font-weight: 600;
}

/* App Store Links */
.app-store-links {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-store-link:hover {
    transform: scale(1.05);
}

.app-badge {
    height: 36px;
    width: auto;
}

/* Quids List */
.quids-list {
    list-style: none;
    padding: 0;
    margin-top: 0.9rem;
}

.quids-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.675rem;
    font-size: clamp(0.7875rem, 1.35vw, 0.9rem);
    color: var(--color-textSecondary);
}

.quid-value {
    font-weight: 700;
    color: rgb(52, 211, 153);
    min-width: 2.7rem;
}

.quid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16.2px;
    height: 16.2px;
    background-color: rgb(52, 211, 153);
    border-radius: 50%;
    font-size: 9.9px;
    color: var(--color-textDefaultButtonLabel);
    font-weight: 700;
    vertical-align: middle;
    margin: 0 1.8px;
}

.rules-link {
    color: rgb(52, 211, 153);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.rules-link:hover {
    opacity: 0.8;
}

/* Features Section */
.features-section {
    width: 100%;
    max-width: 1080px;
    margin-bottom: 5.4rem;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14.4px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14.4px;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgb(52, 211, 153);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
}

.feature-title {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--color-textMain);
    margin-bottom: 0.9rem;
}

.feature-description {
    font-size: clamp(0.7875rem, 1.35vw, 0.9rem);
    color: var(--color-textSecondary);
    line-height: 1.6;
    margin: 0;
}

/* Screenshots Section */
.screenshots-section {
    width: 100%;
    max-width: 1080px;
    margin-bottom: 5.4rem;
    padding: 0 1rem;
}

.screenshots-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.08rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14.4px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.screenshot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14.4px;
    z-index: -1;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgb(52, 211, 153);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 9px;
    margin-bottom: 1.2rem;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-image {
    transform: scale(1.02);
}

.screenshot-label {
    font-size: clamp(0.7875rem, 1.35vw, 0.9rem);
    color: var(--color-textMain);
    font-weight: 600;
    margin: 0;
}

/* Footer */
.footer {
    width: 100%;
    padding: 1.8rem;
    margin-top: 2.7rem;
    position: relative;
}

.footer-dock {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 27px;
    padding: 1.35rem 2.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.08rem;
    position: relative;
}

.footer-dock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 27px;
    z-index: -1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1.8rem;
    padding-bottom: 1.08rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-logo {
    max-width: 45px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 9px;
}

.footer-brand-name {
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.84375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.54rem 1.08rem;
    border-radius: 10.8px;
    background: transparent;
}

.footer-link:hover {
    color: #FFFFFF;
    background: rgba(52, 211, 153, 0.2);
    transform: translateY(-2px);
}

.footer-tagline {
    text-align: center;
    padding-top: 0.9rem;
    width: 100%;
}

.footer-tagline p {
    color: #FFFFFF;
    font-size: 0.84375rem;
    margin: 0;
    opacity: 1;
    font-weight: 400;
}

.footer-copyright {
    text-align: center;
    padding-top: 0.9rem;
    width: 100%;
}

.footer-copyright p {
    color: #FFFFFF;
    font-size: 0.7875rem;
    margin: 0;
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .main-container {
        padding: 2.7rem 1.8rem;
    }

    .profile-grid {
        max-width: 350px;
        gap: 1.35rem;
    }

    .main-logo {
        max-width: 180px;
    }
    
    .info-image {
        max-width: 350px;
    }

    .app-badge {
        height: 45px;
    }

    .info-item {
        gap: 3.6rem;
    }
    
    .info-item.column .info-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .footer {
        padding: 1.8rem 1.35rem;
    }
    
    .footer-dock {
        max-width: 700px;
        padding: 1.62rem 2.7rem;
    }
    
    .footer-nav {
        gap: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .main-container {
        padding: 3.6rem 1.8rem;
    }

    .profile-grid {
        max-width: 420px;
        gap: 1.8rem;
    }

    .main-logo {
        max-width: 220px;
    }
    
    .info-image {
        max-width: 450px;
    }

    .hero-section {
        margin-bottom: 7.2rem;
    }

    .info-section {
        margin-bottom: 7.2rem;
    }
    
    .brand-section {
        margin-bottom: 3.6rem;
    }
    
    .features-section {
        margin-bottom: 7.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .info-item,
    .info-item.reverse {
        flex-direction: column;
    }
    
    .info-item.column {
        flex-direction: column;
    }
    
    .info-content {
        text-align: center;
    }
    
    .app-store-links {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-grid {
        gap: 0.675rem;
        max-width: 240px;
    }
    
    .main-logo {
        max-width: 120px;
    }
    
    .info-image {
        max-width: 280px;
    }


    .app-store-links {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 1.35rem 0.9rem;
        margin-top: 1.8rem;
    }
    
    .footer-dock {
        max-width: 100%;
        padding: 1.08rem 1.35rem;
        border-radius: 18px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 1.35rem;
        padding-bottom: 0.9rem;
    }
    
    .footer-brand {
        gap: 0.72rem;
    }
    
    .footer-logo {
        max-width: 40px;
    }
    
    .footer-brand-name {
        font-size: 1.17rem;
    }
    
    .footer-nav {
        gap: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-link {
        padding: 0.45rem 0.9rem;
        font-size: 0.7875rem;
    }
    
    .footer-tagline {
        padding-top: 0.72rem;
    }
    
    .footer-tagline p {
        font-size: 0.7875rem;
    }
    
    .footer-copyright {
        padding-top: 0.72rem;
    }
    
    .footer-copyright p {
        font-size: 0.72rem;
    }
    
    .info-item {
        gap: 1.8rem;
        padding: 1.35rem;
    }
    
    .profile-grid {
        padding: 0.9rem;
    }
    
    .logo-container {
        padding: 0.9rem;
        max-width: 160px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshot-card {
        padding: 1.2rem;
    }
}

