:root {
    --primary-red: #8B0000;
    --primary-yellow: #FFD700;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-family: var(--font-main);
    color: var(--text-white);
}

#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Frost Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    /* The frost effect */
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

/* Main Layout */
.app-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/* Header */
.logo-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 4rem;
    /* Space for header */
}

/* Phone Frame */
.phone-frame {
    width: 340px;
    height: 700px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes float {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-15px);
    }
}

.phone-bezel {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 20;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* UI Placeholder Animation */
.app-ui-placeholder {
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ui-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.ui-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ui-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ui-line.short {
    width: 40%;
}

.ui-line.long {
    width: 80%;
}

.ui-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ui-card {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    animation: pulse 3s infinite;
}

.ui-card:nth-child(2) {
    animation-delay: 0.2s;
}

.ui-card:nth-child(3) {
    animation-delay: 0.4s;
}

.ui-card:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.ui-fab {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* CTA Section */
.cta-section {
    text-align: center;
    max-width: 600px;
    z-index: 5;
}

.cta-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.play-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text span:first-child {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.footer-nav {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

/* Responsive Design */
@media (min-width: 768px) {

    body,
    html {
        height: 100%;
        overflow: hidden;
    }

    .app-container {
        height: 100%;
    }

    .content-wrapper {
        flex-direction: row;
        gap: 4rem;
    }

    .cta-section {
        text-align: left;
        align-items: flex-start;
    }

    .cta-section h1 {
        font-size: 4.5rem;
    }
}

@media (max-height: 700px) {
    .phone-frame {
        height: 450px;
        width: 220px;
    }

    .cta-section h1 {
        font-size: 2.5rem;
    }
}

/* Privacy Policy Page Styles */
.policy-content {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.policy-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.policy-content a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}