/**
 * Conniecase.com - Atomic CSS Architecture
 * Theme: Bright Festive / Joy
 * Effect: Neumorphism (soft shadows)
 * Typography: Poppins + Nunito
 * Buttons: Gradient Fill
 * Created: 03.02.2026
 */

/* ============================================
   COLOR PALETTE - JOY THEME
   ============================================ */
:root {
    /* Joy Theme Colors */
    --joy-sunshine: #FFD700;
    --party-pink: #FF69B4;
    --celebrate-purple: #9B59B6;
    --happy-blue: #3498DB;
    --festive-orange: #FF6347;
    --smile-green: #2ECC71;
    
    /* Neutral */
    --cloud-white: #FFFFFF;
    --soft-gray: #F5F5F5;
    --gentle-shadow: #E0E0E0;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    
    /* Neumorphism */
    --neu-light: rgba(255, 255, 255, 0.7);
    --neu-dark: rgba(174, 174, 192, 0.4);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 70px;
    --spacing: 1rem;
}

/* ============================================
   BASE RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, sans-serif;
    background: linear-gradient(135deg, #E8F5E9 0%, #FFF9C4 50%, #FCE4EC 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ATOMIC UTILITIES - DISPLAY
   ============================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }

/* ============================================
   ATOMIC UTILITIES - ALIGNMENT
   ============================================ */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   ATOMIC UTILITIES - SPACING
   ============================================ */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.m-auto { margin: 0 auto; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   ATOMIC UTILITIES - SIZING
   ============================================ */
.w-full { width: 100%; }
.max-w-screen { max-width: var(--max-width); }
.h-screen { min-height: 100vh; }

/* ============================================
   ATOMIC UTILITIES - TYPOGRAPHY
   ============================================ */
.font-heading { font-family: 'Poppins', sans-serif; }
.font-body { font-family: 'Nunito', sans-serif; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }
.text-4xl { font-size: 2.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }

/* ============================================
   ATOMIC UTILITIES - COLORS
   ============================================ */
.text-joy { color: var(--joy-sunshine); }
.text-party { color: var(--party-pink); }
.text-celebrate { color: var(--celebrate-purple); }
.text-happy { color: var(--happy-blue); }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }
.bg-white { background: var(--cloud-white); }
.bg-soft { background: var(--soft-gray); }

/* ============================================
   ATOMIC UTILITIES - EFFECTS
   ============================================ */
.rounded { border-radius: 12px; }
.rounded-lg { border-radius: 20px; }
.rounded-full { border-radius: 9999px; }
.shadow-neu {
    background: var(--soft-gray);
    box-shadow: 
        8px 8px 16px var(--neu-dark),
        -8px -8px 16px var(--neu-light);
}
.shadow-neu-inset {
    background: var(--soft-gray);
    box-shadow: 
        inset 4px 4px 8px var(--neu-dark),
        inset -4px -4px 8px var(--neu-light);
}
.transition { transition: all 0.3s ease; }

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--cloud-white);
    box-shadow: 
        0 4px 12px var(--neu-dark);
    z-index: 1000;
}

.header-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing);
    height: 100%;
    display: flex;
    align-items: center;
}

main {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
}

footer {
    background: linear-gradient(135deg, var(--party-pink), var(--celebrate-purple));
    color: var(--cloud-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

/* ============================================
   LOGO
   ============================================ */
.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--party-pink), var(--celebrate-purple), var(--joy-sunshine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav.main-nav {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--soft-gray);
    color: var(--party-pink);
}

/* ============================================
   BUTTON - GRADIENT FILL
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--party-pink), var(--celebrate-purple));
    color: var(--cloud-white);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--happy-blue), var(--smile-green));
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.btn-register {
    color: #000000 !important;
    background: var(--cloud-white) !important;
    box-shadow: 4px 4px 8px var(--neu-dark), -4px -4px 8px var(--neu-light) !important;
    transition: none !important;
    animation: none !important;
}

.btn-register:hover {
    transform: none !important;
    box-shadow: 4px 4px 8px var(--neu-dark), -4px -4px 8px var(--neu-light) !important;
}

.btn-register:active {
    transform: none !important;
}

/* ============================================
   FORM INPUTS
   ============================================ */
.input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cloud-white);
    border: 2px solid var(--gentle-shadow);
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 
        4px 4px 8px var(--neu-dark),
        -4px -4px 8px var(--neu-light);
}

.input:focus {
    outline: none;
    border-color: var(--party-pink);
    box-shadow: 
        6px 6px 12px var(--neu-dark),
        -6px -6px 12px var(--neu-light),
        0 0 0 3px rgba(255, 105, 180, 0.1);
}

.input::placeholder {
    color: var(--text-light);
}

label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--party-pink), var(--celebrate-purple), var(--joy-sunshine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============================================
   CARD - NEUMORPHISM
   ============================================ */
.card {
    background: var(--soft-gray);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        12px 12px 24px var(--neu-dark),
        -12px -12px 24px var(--neu-light);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        16px 16px 32px var(--neu-dark),
        -16px -16px 32px var(--neu-light);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--party-pink);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ============================================
   GAME CARD
   ============================================ */
.game-card {
    background: var(--cloud-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        8px 8px 16px var(--neu-dark),
        -8px -8px 16px var(--neu-light);
    transition: all 0.3s;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 
        12px 12px 24px var(--neu-dark),
        -12px -12px 24px var(--neu-light);
}

.game-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.game-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--party-pink);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        margin-left: auto;
    }
    
    nav.main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--cloud-white);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        box-shadow: 0 4px 12px var(--neu-dark);
        margin-left: 0;
        z-index: 999;
    }
    
    nav.main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: var(--cloud-white);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    box-shadow: 
        16px 16px 32px rgba(0, 0, 0, 0.3),
        -4px -4px 8px rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--party-pink);
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============================================
   UTILITY EXTENSIONS
   ============================================ */
.review-img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.section {
    padding: 4rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}
