/* Velnor - Luxurious Amethyst & Rose Gold Jewelry Theme */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Luxurious Gems Theme */
:root {
    /* Primary Gem Colors */
    --amethyst-purple: #9966cc;
    --deep-purple: #663399;
    --turquoise-teal: #40e0d0;
    --rose-gold: #e8b4a0;
    --champagne-gold: #f7e7ce;
    --pearl-white: #faf0e6;
    
    /* Main Theme Colors */
    --primary-color: var(--amethyst-purple);
    --secondary-color: var(--turquoise-teal);
    --accent-color: var(--rose-gold);
    --deep-accent: var(--deep-purple);
    
    /* Neutral Palette */
    --charcoal-black: #2f2f2f;
    --platinum-silver: #e5e4e2;
    --ivory-cream: #fffff0;
    --deep-navy: #1a1a2e;
    --soft-lavender: #f3e5f5;
    
    /* Text Colors */
    --text-primary: var(--charcoal-black);
    --text-secondary: #4a4a4a;
    --text-muted: #757575;
    --text-light: var(--pearl-white);
    
    /* Background Colors */
    --bg-primary: var(--ivory-cream);
    --bg-secondary: var(--soft-lavender);
    --bg-dark: var(--deep-navy);
    --bg-gradient: linear-gradient(135deg, var(--amethyst-purple) 0%, var(--turquoise-teal) 50%, var(--rose-gold) 100%);
    
    /* Typography */
    --font-primary: 'Crimson Text', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Border Radius */
    --border-sm: 6px;
    --border-md: 12px;
    --border-lg: 18px;
    --border-xl: 24px;
    --border-round: 50%;
    
    /* Shadows */
    --shadow-soft: 0 4px 12px rgba(153, 102, 204, 0.15);
    --shadow-medium: 0 8px 24px rgba(153, 102, 204, 0.20);
    --shadow-strong: 0 12px 36px rgba(153, 102, 204, 0.25);
    --shadow-jewel: 0 6px 20px rgba(153, 102, 204, 0.35);
    
    /* Transitions */
    --transition-quick: 0.2s ease-out;
    --transition-smooth: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    
    /* Borders */
    --border-light: 1px solid var(--platinum-silver);
    --border-accent: 2px solid var(--rose-gold);
    --border-primary: 2px solid var(--amethyst-purple);
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Container System */
.velnor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.velnor-section {
    padding: var(--space-xxl) 0;
}

/* Header & Navigation */
.velnor-header {
    background: rgba(255, 255, 240, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.velnor-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.velnor-logo {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
    text-shadow: 2px 2px 4px rgba(153, 102, 204, 0.1);
}

.velnor-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.velnor-nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
    margin: 0;
}

.velnor-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-lg);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
}

.velnor-nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bg-gradient);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.velnor-nav-links a:hover::before,
.velnor-nav-links a.active::before {
    width: 80%;
}

.velnor-nav-links a:hover,
.velnor-nav-links a.active {
    color: var(--primary-color);
    background: rgba(153, 102, 204, 0.08);
    transform: translateY(-2px);
}

.velnor-nav-links i {
    font-size: 1.1rem;
}

/* Mobile Navigation */
.velnor-mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--bg-gradient);
    margin: 3px 0;
    border-radius: var(--border-sm);
    transition: var(--transition-quick);
}

/* Hero Section */
.velnor-hero {
    background: linear-gradient(135deg, rgba(153, 102, 204, 0.9), rgba(64, 224, 208, 0.8)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="gems" patternUnits="userSpaceOnUse" width="100" height="100"><polygon points="50,10 70,30 70,70 50,90 30,70 30,30" fill="rgba(153,102,204,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23gems)"/></svg>');
    padding: 140px 0 var(--space-xxl);
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.velnor-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 180, 160, 0.15) 0%, transparent 60%);
    animation: floatingGems 12s linear infinite;
}

@keyframes floatingGems {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.velnor-hero-content {
    position: relative;
    z-index: 2;
}

.velnor-hero h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, var(--champagne-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.velnor-hero p {
    font-size: 1.4rem;
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Buttons */
.velnor-btn {
    display: inline-block;
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-jewel);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.velnor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
}

.velnor-btn:hover::before {
    left: 100%;
}

.velnor-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(153, 102, 204, 0.4);
    color: var(--text-light);
}

.velnor-btn-outline {
    background: transparent;
    border: 2px solid var(--rose-gold);
    color: var(--rose-gold);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-jewel);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.velnor-btn-outline:hover {
    background: var(--rose-gold);
    color: var(--charcoal-black);
}

/* Cards */
.velnor-card {
    background: var(--bg-primary);
    border-radius: var(--border-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: var(--border-light);
    position: relative;
}

.velnor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.velnor-card:hover::before {
    opacity: 1;
}

.velnor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

/* Game Embed */
.velnor-game-container {
    background: var(--bg-secondary);
    border-radius: var(--border-lg);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-medium);
    border: 3px solid var(--primary-color);
    position: relative;
}

.velnor-game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--bg-gradient);
    border-radius: var(--border-lg);
    z-index: -1;
}

.velnor-game-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-md);
    background: var(--ivory-cream);
}

/* Features Grid */
.velnor-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.velnor-feature-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-primary);
    border-radius: var(--border-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: var(--border-light);
    position: relative;
}

.velnor-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0.05;
    border-radius: var(--border-lg);
    transition: var(--transition-smooth);
}

.velnor-feature-item:hover::before {
    opacity: 0.1;
}

.velnor-feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-jewel);
    border-color: var(--primary-color);
}

.velnor-feature-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-gradient);
    border-radius: var(--border-round);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--text-light);
    font-size: 2.2rem;
    box-shadow: var(--shadow-jewel);
    position: relative;
}

.velnor-feature-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--bg-gradient);
    border-radius: var(--border-round);
    z-index: -1;
    opacity: 0.3;
}

.velnor-feature-item h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 600;
}

/* About Section */
.velnor-about {
    background: var(--bg-secondary);
    position: relative;
}

.velnor-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(153,102,204,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(64,224,208,0.1)"/><circle cx="60" cy="40" r="1.5" fill="rgba(232,180,160,0.1)"/></svg>');
    opacity: 0.5;
}

.velnor-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.velnor-about-text h2 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.velnor-about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.velnor-about-image {
    position: relative;
    border-radius: var(--border-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

/* Alert Box */
.velnor-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--border-md);
    margin: var(--space-lg) 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b3 100%);
    border: 1px solid var(--rose-gold);
    border-left: 4px solid var(--rose-gold);
}

.velnor-alert i {
    color: #cc7a00;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.velnor-alert strong {
    color: #994d00;
}

/* Footer */
.velnor-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-xxl) 0 var(--space-lg);
    position: relative;
}

.velnor-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-gradient);
}

.velnor-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.velnor-footer h5 {
    font-family: var(--font-primary);
    color: var(--rose-gold);
    margin-bottom: var(--space-md);
    font-size: 1.4rem;
    font-weight: 600;
}

.velnor-footer ul {
    list-style: none;
}

.velnor-footer ul li {
    margin-bottom: var(--space-xs);
}

.velnor-footer ul li a {
    color: var(--platinum-silver);
    text-decoration: none;
    transition: var(--transition-quick);
}

.velnor-footer ul li a:hover {
    color: var(--rose-gold);
    text-decoration: underline;
}

.velnor-footer-bottom {
    border-top: 1px solid #4a4a4a;
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--platinum-silver);
}

.velnor-footer-disclaimer {
    background: rgba(232, 180, 160, 0.1);
    border: 1px solid var(--rose-gold);
    border-radius: var(--border-md);
    padding: var(--space-md);
    margin-top: var(--space-md);
    text-align: center;
    color: var(--rose-gold);
    font-weight: 500;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(47, 47, 47, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.age-modal-content {
    background: var(--bg-primary);
    padding: var(--space-xxl);
    border-radius: var(--border-xl);
    text-align: center;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 3px solid var(--rose-gold);
    position: relative;
    margin: auto;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--bg-gradient);
    border-radius: var(--border-xl);
    z-index: -1;
    opacity: 0.3;
}

.age-modal-content h2 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-size: 2.2rem;
    font-weight: 700;
}

.age-modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.age-modal-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

.btn-confirm {
    background: var(--bg-gradient);
    color: var(--text-light);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-jewel);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 102, 204, 0.4);
}

.btn-exit {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--platinum-silver);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-exit:hover {
    background: #dc2626;
    color: var(--text-light);
    border-color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .velnor-mobile-toggle {
        display: flex;
    }
    
    .velnor-nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    
    .velnor-nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .velnor-mobile-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .velnor-mobile-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .velnor-mobile-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .velnor-hero h1 {
        font-size: 2.8rem;
    }
    
    .velnor-hero p {
        font-size: 1.2rem;
    }
    
    .velnor-about-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .velnor-features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .age-modal {
        align-items: flex-start;
        padding-top: env(safe-area-inset-top, 2.5rem);
        padding-bottom: env(safe-area-inset-bottom, 2.5rem);
        overflow-y: auto;
    }
    .age-modal-content {
        width: 92vw;
        max-width: 92vw;
        padding: var(--space-sm);
        margin: 0.5rem auto;
        max-height: 90vh;
        overflow-y: auto;
        box-sizing: border-box;
        font-size: 0.97rem;
    }
    .age-modal-content h2 {
        font-size: 1.3rem;
    }
    .age-modal-content p {
        font-size: 0.97rem;
    }
    .btn-confirm, .btn-exit {
        font-size: 1rem;
        padding: 0.7rem;
    }
    .age-modal-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    .btn-confirm, .btn-exit {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}