/* ========================================
   Halka Landing Page & Legal Hub - Premium Styles
   ======================================== */

:root {
    --primary: #FBBC05;
    --primary-dark: #F5A623;
    --primary-light: #FCE17A;
    --secondary: #FFFDF7;
    --dark: #060912;
    --dark-surface: #10141C;
    --gray-text: #CBD5E1;
    --white: #FFFFFF;

    --bg-gradient: linear-gradient(135deg, #060912 0%, #10141C 100%);
    --text-gradient: linear-gradient(135deg, #FBBC05 0%, #FFFDF7 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, rgba(6, 9, 18, 0.93) 0%, rgba(16, 20, 28, 0.97) 100%), url('bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* ========================================
   Background Effects
   ======================================== */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(251, 188, 5, 0.15);
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
    transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.bg-glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(255, 253, 247, 0.15);
    transform: translate(calc(var(--mouse-x, 0) * -1.3), calc(var(--mouse-y, 0) * -1.3));
    transition: transform 0.45s cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* ========================================
   View Routing System
   ======================================== */
.view-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.view-section.active {
    display: flex;
    opacity: 1;
}

/* ========================================
   LANDING VIEW
   ======================================== */
#landing-view {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.logo-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 8px 32px rgba(251, 188, 5, 0.2);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(251, 188, 5, 0.1);
    border: 1px solid rgba(251, 188, 5, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(251, 188, 5, 0.4); }
    100% { box-shadow: 0 0 20px 0 rgba(251, 188, 5, 0.1); }
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.text-stack .stack-item {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gray-text);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-stack .stack-item:nth-child(1) {
    color: var(--primary-light);
    opacity: 0.8;
}
.text-stack .stack-item:nth-child(2) {
    color: var(--primary);
    opacity: 0.9;
}
.text-stack .stack-item:nth-child(3) {
    color: var(--white);
    opacity: 1;
}

.text-stack .stack-main {
    font-size: 3.8rem;
    font-weight: 800;
    margin-top: 0.75rem;
    display: block;
}

@media (max-width: 900px) {
    .text-stack .stack-item {
        font-size: 1.6rem;
    }
    .text-stack .stack-main {
        font-size: 2.6rem;
    }
}

@media (max-width: 600px) {
    .text-stack .stack-item {
        font-size: 1.3rem;
    }
    .text-stack .stack-main {
        font-size: 2rem;
    }
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.125rem;
    color: var(--gray-text);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    margin: 2rem auto 4rem;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-left .badge {
    margin-bottom: 1.5rem;
}

.hero-left .text-stack {
    align-items: flex-start;
    text-align: left;
}

.hero-left .description {
    text-align: left;
    margin-top: 1.5rem;
}

.hero-right {
    width: 100%;
}

.download-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.store-box-large {
    margin-bottom: 1.25rem;
}

.store-box-large:last-child {
    margin-bottom: 0;
}

.store-link-large {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 16px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-link-large:hover {
    border-color: var(--primary);
    background: rgba(251, 188, 5, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 188, 5, 0.1);
}

.store-icon {
    font-size: 2.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.store-tag {
    font-size: 0.75rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.1rem 0;
}

.store-desc {
    font-size: 0.8rem;
    color: var(--gray-text);
    opacity: 0.8;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        margin-top: 1rem;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-left .text-stack {
        align-items: center;
        text-align: center;
    }
    
    .hero-left .description {
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
    
    .download-card {
        padding: 2rem;
    }
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 188, 5, 0.3);
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.landing-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(251, 188, 5, 0.25);
    border-color: var(--primary);
}

.legal-links-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.legal-links-footer a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.legal-links-footer a:hover {
    color: var(--primary);
}

.copyright {
    color: #475569;
    font-size: 0.8rem;
}

/* ========================================
   LEGAL DOCUMENTS VIEW
   ======================================== */
#legal-view {
    min-height: 100vh;
    padding: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.legal-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--gray-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: inherit;
}

.btn-back:hover {
    color: var(--white);
}

.legal-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

.legal-logo i {
    color: var(--primary);
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Tabs */
.legal-sidebar {
    position: sticky;
    top: 2rem;
    min-width: 0; /* Fix CSS Grid overflow bug */
    max-width: 100vw;
}

.tab-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.tab-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--gray-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-btn i {
    font-size: 1.25rem;
    opacity: 0.7;
}

.tab-btn:hover {
    background: var(--glass-bg);
    color: var(--white);
}

.tab-btn.active {
    background: rgba(251, 188, 5, 0.1);
    border-color: rgba(251, 188, 5, 0.2);
    color: var(--primary);
}

.tab-btn.active i {
    opacity: 1;
}

/* Document Content */
.legal-content-area {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    min-height: 600px;
}

.document-pane {
    display: none;
    animation: fadeInDoc 0.5s ease-out;
}

.document-pane.active {
    display: block;
}

@keyframes fadeInDoc {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.doc-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.doc-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(251, 188, 5, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.doc-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    word-break: break-word; /* Prevent long words from breaking layout */
}

.doc-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Skeleton & Heading Styles */
.skeleton-section {
    margin-bottom: 2.5rem;
}

.skeleton-section h3 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1rem;
    word-break: break-word;
    line-height: 1.4;
}

.skeleton-section h3 i {
    color: var(--secondary);
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    animation: shimmer 2s infinite linear;
}

.skeleton-line.full { width: 100%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.short { width: 40%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Special Structures */
.skeleton-table {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.s-row {
    height: 40px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: rgba(255,255,255,0.02);
}

.s-row:last-child { border-bottom: none; }
.s-row.header { background: rgba(255,255,255,0.05); }

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.rule-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
}

.rule-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--gray-text);
}

/* ========================================
   Legal Documents Typography & Tables
   ======================================== */
.doc-body p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.doc-body h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.doc-body h3:first-child {
    margin-top: 0;
}

.doc-body ul, .doc-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.doc-body li {
    margin-bottom: 0.5rem;
}

.doc-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.01);
}

.doc-body th, .doc-body td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    line-height: 1.5;
}

.doc-body th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 600;
}

.doc-body tr:last-child td {
    border-bottom: none;
}

.doc-body td {
    color: var(--gray-text);
}

.doc-body strong {
    color: var(--white);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 900px) {
    .main-title {
        font-size: 2.5rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .legal-sidebar {
        position: static;
    }

    .tab-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        max-width: 100vw;
    }
    
    .tab-list::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        border-radius: 50px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
    }
    
    .legal-content-area {
        padding: 1.5rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
}

/* Specific Mobile View Adjustments */
@media (max-width: 600px) {
    #legal-view {
        padding: 1rem;
    }

    #landing-view {
        padding: 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .legal-content-area {
        padding: 1rem;
        border-radius: 16px;
        min-height: auto;
        width: 100%;
        overflow: hidden;
    }

    .doc-header h2 {
        font-size: 1.25rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .skeleton-section h3 {
        font-size: 1.05rem;
    }

    .legal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .tab-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   ACCOUNT DELETION VIEW
   ======================================== */
#delete-account-view {
    min-height: 100vh;
    padding: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.delete-account-container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

.delete-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.delete-account-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: fadeInDoc 0.5s ease-out;
}

.delete-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #EF4444;
    margin-bottom: 1.5rem;
}

.delete-account-card > h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.delete-subtitle {
    color: var(--gray-text);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Steps */
.delete-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.step-item:hover {
    border-color: rgba(251, 188, 5, 0.3);
    transform: translateX(4px);
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.step-content p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-content strong {
    color: var(--primary-light);
}

/* Info / Warning Box */
.delete-info-box {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-box-header i {
    font-size: 1.5rem;
    color: #EF4444;
}

.info-box-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #FCA5A5;
}

.delete-info-box ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.delete-info-box li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.5;
}

.delete-info-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #EF4444;
    font-weight: bold;
}

.delete-info-box li strong {
    color: #FCA5A5;
}

/* Contact Box */
.delete-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(251, 188, 5, 0.06);
    border: 1px solid rgba(251, 188, 5, 0.15);
    border-radius: 16px;
}

.delete-contact-box > i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 2rem;
    margin-top: 0.2rem;
}

.delete-contact-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.delete-contact-box p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-email {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Delete Footer */
.delete-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive for Delete Account - Tablet */
@media (max-width: 900px) {
    #delete-account-view {
        padding: 1.5rem;
    }

    .delete-account-card {
        padding: 2rem;
    }

    .delete-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Responsive for Delete Account - Mobile */
@media (max-width: 600px) {
    #delete-account-view {
        padding: 1rem;
    }

    .delete-account-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .delete-account-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .delete-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .delete-account-card > h1 {
        font-size: 1.4rem;
    }

    .delete-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .delete-steps {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .step-item {
        padding: 1rem;
        gap: 1rem;
        border-radius: 12px;
    }

    .step-item:hover {
        transform: none;
    }

    .step-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .step-content h3 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .delete-info-box {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .info-box-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .info-box-header i {
        font-size: 1.25rem;
    }

    .info-box-header h3 {
        font-size: 0.9rem;
    }

    .delete-info-box li {
        font-size: 0.85rem;
        padding-left: 1rem;
    }

    .delete-contact-box {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px;
        text-align: center;
        align-items: center;
    }

    .delete-contact-box > i {
        font-size: 1.75rem;
    }

    .delete-contact-box h3 {
        font-size: 0.95rem;
    }

    .delete-contact-box p {
        font-size: 0.85rem;
    }

    .contact-email {
        font-size: 0.9rem;
    }

    .delete-footer {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

/* Page Load Fade-In Animations */
.logo-container,
.hero-left .stack-item,
.hero-left .stack-main,
.hero-left .description,
.download-card,
.feature-card,
.support-card-wide {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loaded .logo-container {
    opacity: 1;
    transform: translateY(0);
}

body.loaded .support-card-wide {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .hero-left .stack-item:nth-child(1) {
    transition-delay: 0.3s;
    opacity: 0.8;
    transform: translateY(0);
}

body.loaded .hero-left .stack-main {
    transition-delay: 0.45s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .hero-left .description {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .download-card {
    transition-delay: 0.75s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .feature-card:nth-child(1) {
    transition-delay: 1.25s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .feature-card:nth-child(2) {
    transition-delay: 1.35s;
    opacity: 1;
    transform: translateY(0);
}

body.loaded .feature-card:nth-child(3) {
    transition-delay: 1.45s;
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Details Section (Nearby Chat & Topics)
   ======================================== */
.details-section {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin: 4rem auto 6rem;
    max-width: 1000px;
    width: 100%;
}

.detail-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.nearby-deep-dive {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.centered-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-detail h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
}

.centered-detail .deep-dive-desc {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.detail-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
}

.detail-info p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.yellow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(251, 188, 5, 0.1);
    border: 1px solid rgba(251, 188, 5, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.radar-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radar-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.radar-features li i {
    color: var(--primary);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* Radar Visual Styling */
.radar-visual {
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.radar-circle {
    width: 100%;
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.radar-circle:last-child {
    margin-bottom: 0;
}

.radar-circle:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 24px rgba(251, 188, 5, 0.15);
}

.radar-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.radar-text {
    font-size: 0.95rem;
    color: var(--white);
    font-style: italic;
}

.radar-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 188, 5, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: radarSweep 4s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes radarSweep {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* Topics Showcase Styling */
.topics-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
}

.topics-header {
    max-width: 600px;
    margin: 0 auto;
}

.topics-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 1rem 0 1.25rem;
}

.topics-header p {
    color: var(--gray-text);
    font-size: 1rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.topic-tag-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.topic-tag-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(251, 188, 5, 0.15);
}

.topic-tag-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.topic-tag-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.topic-tag-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* Scroll Fade In Animation Setup */
.detail-info,
.radar-visual,
.topics-header,
.topic-tag-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loaded .detail-info,
body.loaded .radar-visual,
body.loaded .topics-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

body.loaded .topic-tag-card {
    opacity: 1;
    transform: translateY(0);
}

body.loaded .topic-tag-card:nth-child(1) { transition-delay: 0.2s; }
body.loaded .topic-tag-card:nth-child(2) { transition-delay: 0.3s; }
body.loaded .topic-tag-card:nth-child(3) { transition-delay: 0.4s; }
body.loaded .topic-tag-card:nth-child(4) { transition-delay: 0.5s; }
body.loaded .topic-tag-card:nth-child(5) { transition-delay: 0.6s; }
body.loaded .topic-tag-card:nth-child(6) { transition-delay: 0.7s; }

@media (max-width: 900px) {
    .detail-block {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .detail-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .detail-info h2 {
        font-size: 1.8rem;
    }
    
    .radar-features {
        align-items: center;
    }
    
    .radar-features li {
        text-align: left;
    }
    
    .radar-visual {
        height: auto;
        padding: 1rem;
    }
    
    .topics-header h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   Floating Music Button
   ======================================== */
.music-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(251, 188, 5, 0.1);
    border: 1px solid rgba(251, 188, 5, 0.3);
    color: var(--primary);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.music-btn:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(251, 188, 5, 0.3);
}

.music-btn i {
    font-size: 1.5rem;
}

@media (max-width: 600px) {
    .music-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
    
    .music-btn i {
        font-size: 1.25rem;
    }
}

/* ========================================
   Support Card (Red/Heart Visual - Wide)
   ======================================== */
.support-card-wide {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin: 1rem auto 2rem;
    max-width: 1000px;
    width: 100%;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.support-card-wide i {
    font-size: 2.2rem;
    color: #EF4444;
    min-width: 2.2rem;
}

.support-card-wide h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.support-card-wide p {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .support-card-wide {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
}
