/*
 * Page: Terms & Conditions
 * Version: 1.0.0
 */

/* --- 1. VARIABLES --- */
:root {
    --vidnok-glass: rgba(255, 255, 255, 0.05); 
    --vidnok-border: rgba(255, 255, 255, 0.15);
    --vidnok-primary: #a855f7;  /* Purple */
    --vidnok-secondary: #ec4899; /* Pink */
    --vidnok-text-main: #ffffff;
    --vidnok-text-muted: #e2e8f0;
    --bg-dark: #0f172a;
}

/* --- 2. RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--vidnok-text-main);
    line-height: 1.6;
    margin: 0; padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
.wp-site-blocks > footer, .site-footer, #colophon { display: none !important; }

/* --- 3. BACKGROUND --- */
.vidnok-fixed-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, #2e1065 0%, #0f172a 100%);
    z-index: -999; pointer-events: none;
}
.vidnok-fixed-bg::before, .vidnok-fixed-bg::after {
    content: ''; position: absolute; width: 60vw; height: 60vh;
    border-radius: 50%; filter: blur(100px); opacity: 0.5;
    z-index: -1; animation: vidnokPulse 8s infinite alternate;
}
.vidnok-fixed-bg::before { background: #a855f7; top: -10%; left: -10%; }
.vidnok-fixed-bg::after { background: #ec4899; bottom: -10%; right: -10%; }

@keyframes vidnokPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.7; }
}

/* --- 4. HEADER --- */
.vidnok-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px; z-index: 1000;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--vidnok-border);
}

.vidnok-logo a {
    font-size: 1.5rem; font-weight: 800; color: white;
    text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center;
}
.vidnok-logo img { height: 40px; width: auto; }

/* Desktop Nav */
.vidnok-nav {
    display: flex; gap: 30px;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.vidnok-nav a {
    color: var(--vidnok-text-muted); font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
}
.vidnok-nav a:hover {
    color: white; text-shadow: 0 0 15px var(--vidnok-primary);
}

.v-cta-btn {
    background: rgba(255,255,255,0.1); border: 1px solid var(--vidnok-border);
    padding: 8px 20px; border-radius: 50px; color: white; font-weight: 700; font-size: 0.85rem;
}
.v-cta-btn:hover { background: var(--vidnok-primary); border-color: var(--vidnok-primary); }
.v-cta-btn i { margin-left: 5px; color: white; }

.vidnok-mobile-trigger { display: none; }

/* Mobile Header */
@media (max-width: 900px) {
    .vidnok-nav, .v-cta-btn { display: none !important; }
    .vidnok-header { padding: 0 20px; justify-content: flex-start; position: relative; }
    .vidnok-mobile-trigger { display: flex !important; align-items: center; z-index: 1002; }
    .vidnok-logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; z-index: 1001; }
    
    .vidnok-menu-btn {
        background: rgba(255,255,255,0.1);
        border: 1px solid var(--vidnok-border);
        border-radius: 8px; cursor: pointer; padding: 8px 12px; color: white;
        font-size: 1.2rem; 
    }
}

/* --- 5. MOBILE SIDEBAR --- */
.vidnok-sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s;
}
.vidnok-sidebar-overlay.active { opacity: 1; visibility: visible; }

.vidnok-mobile-sidebar {
    position: fixed; top: 0; left: 0; height: 100%; width: 300px;
    background: radial-gradient(circle at 0% 0%, #4c1d95 0%, #0f172a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 10px 0 50px rgba(0,0,0,0.5);
    z-index: 2001; transform: translateX(-100%); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px; display: flex; flex-direction: column;
}
.vidnok-mobile-sidebar.active { transform: translateX(0); }

.vidnok-sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px;
}
.v-menu-title { font-weight: 800; color: white; letter-spacing: 1px; }
.v-close-btn { 
    color: white; font-size: 1.5rem; cursor: pointer; 
    transition: 0.3s;
}
.v-close-btn:hover { color: #ef4444; transform: rotate(90deg); }

/* Sidebar Links */
.vidnok-sidebar-links { display: flex; flex-direction: column; gap: 15px; }
.vidnok-sidebar-links a {
    display: flex; align-items: center;
    padding: 15px 20px;
    color: var(--vidnok-text-muted);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}

/* Icons (White) */
.vidnok-sidebar-links a i {
    width: 24px; text-align: center; margin-right: 15px; color: white;
}

.vidnok-sidebar-links a:hover, .vidnok-sidebar-links a.active {
    color: white;
    background: rgba(168, 85, 247, 0.25);
    border-color: var(--vidnok-primary);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
    transform: translateX(5px);
}
.vidnok-sidebar-links a:hover::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--vidnok-primary);
    box-shadow: 0 0 10px var(--vidnok-primary);
}

/* --- 6. CONTENT AREA --- */
.vidnok-container {
    max-width: 900px; margin: 0 auto; padding: 140px 20px 80px;
    position: relative; z-index: 1;
}

.vidnok-glass-card {
    background: var(--vidnok-glass);
    border: 1px solid var(--vidnok-border);
    border-radius: 24px; padding: 50px;
    backdrop-filter: blur(20px);
    border-bottom: 4px solid var(--vidnok-primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 10px 40px rgba(168, 85, 247, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vidnok-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 15px 50px rgba(168, 85, 247, 0.3);
}

.vidnok-term-body h1 {
    font-size: 2.8rem; font-weight: 800; text-align: center; margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.v-lead { text-align: center; font-size: 1.1rem; color: #e9d5ff; margin-bottom: 30px; }
.v-divider { height: 1px; background: var(--vidnok-border); margin-bottom: 40px; }

/* Content Styling */
.vidnok-term-body { color: white !important; }

.vidnok-term-body h2 { 
    color: white !important; font-size: 1.8rem; margin-top: 40px; margin-bottom: 20px; 
    border-bottom: 1px solid var(--vidnok-border); padding-bottom: 10px; 
}
.vidnok-term-body h3 { 
    color: var(--vidnok-primary) !important; font-size: 1.4rem; margin-top: 30px; margin-bottom: 15px; 
}
.vidnok-term-body p, .vidnok-term-body li { 
    margin-bottom: 15px; font-size: 1.05rem; color: var(--vidnok-text-muted) !important; 
}
.vidnok-term-body strong { color: white !important; font-weight: 700; }
.vidnok-term-body a { color: var(--vidnok-primary); text-decoration: underline; text-underline-offset: 4px; }
.vidnok-term-body a:hover { color: white; }

.vidnok-custom-footer {
    text-align: center; padding: 40px; color: var(--vidnok-text-muted);
    border-top: 1px solid var(--vidnok-border); margin-top: auto;
    font-size: 0.9rem; background: rgba(15, 23, 42, 0.3);
}

@media (max-width: 768px) {
    .vidnok-glass-card { padding: 30px 20px; }
    .vidnok-term-body h1 { font-size: 2rem; }
}