/* ============================================================
   PREMIUM ADULT PLATFORM - COMPLETE STYLESHEET
   ============================================================ */

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark: #0a0a0a;
    --dark-red: #1a0a0a;
    --burgundy: #3d0f0f;
    --red: #8b1a1a;
    --gold: #d4a843;
    --gold-light: #f0d78c;
    --white: #ffffff;
    --gray: rgba(255,255,255,0.7);
    --glass: rgba(10,5,5,0.3);
    --glass-border: rgba(212,168,67,0.25);
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--white);
}

/* SCREENS */
.screen {
    position: fixed;
    inset: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.screen.active {
    display: flex;
    opacity: 1;
}

/* VIDEO INTRO */
#video-intro {
    background: var(--black);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}
.skip-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 12px 28px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--gold);
    border-radius: 30px;
    color: var(--gold);
    font-size: 14px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.skip-btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* BACKGROUND */
.bg-image {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    background-image: url('fotox.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* PARTICLES */
.particles-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-up linear infinite;
}
@keyframes float-up {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* GLASS CARD */
.glass {
    background: rgba(10,5,5,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212,168,67,0.3);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 0 60px rgba(212,168,67,0.05);
}

.card {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 420px;
    margin: auto;
    padding: 48px 40px;
    text-align: center;
    animation: fadeUp 0.8s ease forwards;
    background: rgba(10,5,5,0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212,168,67,0.35);
}
.center-card {
    max-width: 440px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(10,5,5,0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212,168,67,0.35);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGIN/REGISTER SCREENS */
#login-screen, #register-screen, #loading-screen, #verify-screen, #sending-screen, #code-screen, #call-screen, #access-screen {
    align-items: center;
    justify-content: center;
}

/* LOGO */
.logo-box {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    font-size: 52px;
    color: var(--gold);
    animation: glow 3s ease infinite;
}
@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(212,168,67,0.3); }
    50% { text-shadow: 0 0 40px rgba(212,168,67,0.7); }
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 8px;
    color: var(--gold);
}

/* TITLES */
.title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 28px;
}

/* INPUTS */
.field {
    margin-bottom: 20px;
}
.field input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,168,67,0.3);
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.field input::placeholder {
    color: rgba(255,255,255,0.4);
}
.field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212,168,67,0.15);
}

/* BUTTONS */
.btn-main {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139,26,26,0.8), rgba(61,15,15,0.8));
    border: 1px solid rgba(212,168,67,0.4);
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,26,26,0.5);
    border-color: var(--gold);
}
.btn-main:hover::before {
    left: 100%;
}

/* VERIFY BUTTON */
.btn-verify {
    width: 100%;
    max-width: 360px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(139,26,26,0.8), rgba(61,15,15,0.8));
    border: 2px solid rgba(212,168,67,0.5);
    border-radius: 16px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all 0.4s ease;
    margin-top: 16px;
    backdrop-filter: blur(8px);
}
.btn-verify:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(139,26,26,0.6), 0 0 60px rgba(212,168,67,0.2);
    border-color: var(--gold);
}
.btn-icon {
    font-size: 28px;
}

/* LINKS */
.link-sub {
    display: block;
    margin-top: 20px;
    color: var(--gray);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}
.link-sub:hover { color: var(--gold); }

.register-text {
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray);
}

.link-gold {
    display: inline-block;
    margin-top: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
    transition: all 0.3s;
}
.link-gold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}
.link-gold:hover {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(212,168,67,0.5);
}
.link-gold:hover::after {
    width: 100%;
}

/* LOADING */
.spinner {
    font-size: 52px;
    color: var(--gold);
    animation: spin 2s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--white);
}
.loading-sub {
    font-size: 13px;
    color: var(--gray);
    margin-top: 8px;
}

/* PROGRESS BAR */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 16px;
}
.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* CODE LINKS */
.code-links {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.code-links a {
    color: var(--gray);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}
.code-links a:hover { color: var(--gold); }

/* MAIN PAGE */
#main-page {
    background: var(--dark);
    overflow-y: auto;
}
#main-page.active {
    display: block;
    animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    z-index: 100;
    background: rgba(10,5,5,0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gold);
    letter-spacing: 3px;
}
.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--burgundy));
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.nav-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212,168,67,0.4);
}

/* CONTENT */
.content {
    padding: 100px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s ease forwards;
}
.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.hero p {
    font-size: 16px;
    color: var(--gray);
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
.item:nth-child(1) { animation-delay: 0.1s; }
.item:nth-child(2) { animation-delay: 0.2s; }
.item:nth-child(3) { animation-delay: 0.3s; }
.item:nth-child(4) { animation-delay: 0.4s; }

.item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 40px rgba(212,168,67,0.1);
    border-color: rgba(212,168,67,0.4);
}
.item-img {
    height: 200px;
    width: 100%;
}
.item-info {
    padding: 20px;
}
.item-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 8px;
}
.item-info p {
    font-size: 13px;
    color: var(--gray);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .card { padding: 32px 24px; }
    .title { font-size: 20px; }
    .logo-icon { font-size: 40px; }
    .logo-text { font-size: 18px; letter-spacing: 5px; }
    .btn-main { padding: 14px; font-size: 14px; }
    .btn-verify { padding: 20px 24px; font-size: 16px; }
    .navbar { padding: 0 16px; height: 60px; }
    .nav-menu { display: none; }
    .nav-brand { font-size: 16px; }
    .content { padding: 80px 16px 16px; }
    .hero h2 { font-size: 28px; }
    .grid { grid-template-columns: 1fr; }
    .item-img { height: 160px; }
    .skip-btn { bottom: 20px; right: 20px; padding: 10px 20px; font-size: 12px; }
}

@media (max-width: 480px) {
    .card { padding: 28px 20px; }
    .title { font-size: 18px; }
    .field input { padding: 14px 16px; font-size: 14px; }
    .btn-verify { font-size: 14px; padding: 18px 20px; }
    .hero h2 { font-size: 24px; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
