/* ==================== MODERN VLOG WEBSITE STYLES ==================== */
/* Cutting-edge design with dark aesthetic and fluid animations */

/* ==================== FONT IMPORTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Color Palette - Dark & Sophisticated */
    --color-dark-primary: #000000;
    --color-dark-secondary: #161b22;
    --color-dark-tertiary: #3d4b58;
    --color-accent: #60a5fa;
    --color-accent-bright: #3e5fcc;
    --color-accent-dim: #3b82f6;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a8b3c1;
    --text-muted: #6b7280;
    
    /* Glass Effects */
    --glass-bg: rgba(61, 75, 88, 0.15);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 32px rgba(96, 165, 250, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 20px;
    --spacing-lg: 16px;
    --spacing-xl: 30px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--color-dark-primary) 0%, var(--color-dark-secondary) 50%, var(--color-dark-tertiary) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--color-accent-bright));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

/* ==================== GLASS MORPHISM CONTAINER ==================== */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
    transition: left var(--transition-slow);
}

.glass-container:hover {
    background: rgba(61, 75, 88, 0.25);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.glass-container:hover::before {
    left: 100%;
}

/* ==================== MODERN BUTTON SYSTEM ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--color-accent);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--spacing-lg) 0;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}
.nav-links a {
    padding: 12px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-accent-bright);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 60%;
}
.gombok {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 0.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.gombok::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.gombok:hover::after {
    width: 80%;
}

.gombok:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.gombok a:hover {
    transform: scale(1.2);
    opacity: 1;
    color: #6777aa;
}
.gombok img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all var(--transition-base);
    object-fit: cover;
    margin-bottom: var(--spacing-sm);
}

.gombok:hover img {
    border-color: var(--color-accent);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.5);
}

.gombok a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}


/* ==================== MAIN CONTENT SECTIONS ==================== */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-modern {
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: backwards;
}

.section-modern:nth-child(1) { animation-delay: 0.1s; }
.section-modern:nth-child(2) { animation-delay: 0.2s; }
.section-modern:nth-child(3) { animation-delay: 0.3s; }

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

.section-modern:hover {
    background: rgba(61, 75, 88, 0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.section-title {
    position: relative;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    transform: translateX(-50%);
    border-radius: var(--radius-full);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.1); }
}

/* ==================== GALLERY SYSTEM ==================== */
.gallery-controls {
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.gallery-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright), var(--color-accent));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.search-container {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-container {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.form-input,
/* ==================== SELECT DROPDOWN FIX ==================== */
select {
    padding: 16px 20px;
    background: var(--color-dark-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    min-width: 200px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2360a5fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 48px;
    cursor: pointer;
}

/* Critical: Style dropdown options with dark background */
select option {
    background-color: var(--color-dark-secondary);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 1rem;
    border: none;
}

/* Hover effect for options (works in some browsers) */
select option:hover {
    background-color: var(--color-accent-dim);
    color: var(--text-primary);
}

/* Selected/checked option styling */
select option:checked,
select option[selected] {
    background: linear-gradient(135deg, var(--color-accent-dim), var(--color-accent));
    color: var(--text-primary);
    font-weight: 600;
}

select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-dark-secondary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2), var(--shadow-glow);
    transform: translateY(-2px);
}

/* ==================== GALLERY GRID ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    transition: all 0.4s ease;
}

.gallery-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(96, 165, 250, 0.1));
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.gallery-item:hover::before {
    opacity: 1;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--color-accent);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
    transition: all 0.4s ease;
}

.image-info {
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.image-location {
    font-weight: 600;
    color: var(--color-accent-bright);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    animation: shining 2s infinite;
}

@keyframes shining {
    0%, 100% {
        text-shadow: 0 0 10px var(--color-accent-bright), 0 0 20px var(--color-accent-bright);
    }
    50% {
        text-shadow: 0 0 20px var(--color-accent-bright), 0 0 30px var(--color-accent-bright);
    }
}

/* ==================== MODAL SYSTEM ==================== */
#image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

    
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation-name: modalSlideIn;
    animation-duration: 0.5s;
    border: 2px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    animation: zoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-primary);
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 2001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg) scale(1.1);
    background: rgba(96, 165, 250, 0.2);
    box-shadow: var(--shadow-glow);
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    padding: 20px;
    transition: all var(--transition-base);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

#image-modal:hover .modal-nav-btn {
    opacity: 1;
}

.modal-nav-btn:hover {
    background: var(--color-accent);
    transform: translateY(-50%) scale(1.15);
    box-shadow: var(--shadow-glow);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.modal-caption {
display: none;
}

/* ==================== TRAVEL PROGRESS ==================== */
.travel-progress-container {
    width: 100%;
    max-width: 600px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 2px;
    margin: var(--spacing-xl) auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.travel-progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.travel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-dim), var(--color-accent), var(--color-accent-bright));
    border-radius: var(--radius-full);
    position: relative;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.travel-progress-bar::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border: 4px solid var(--text-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.8);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

/* ==================== TRAVEL POST CARDS ==================== */
.travel-post {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.travel-post:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--color-accent);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--glass-border);
}

.travel-post h3 {
    margin: 0;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--color-accent-bright));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.post-content {
    padding: var(--spacing-xl);
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.travel-post img {
    max-width: 340px;
    width: 100%;
    height: auto;
}

/* ==================== CURRENT LOCATION ==================== */
.current-location {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.country-indicator {
    width: 100%;
    max-width: 800px;
    margin: var(--spacing-xl) auto;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.progress-labels span {
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.progress-stats p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
}

.progress-stats b {
    color: var(--color-accent-bright);
    font-size: 1.5rem;
}

.days_on_road,
.countries_visited {
    display: inline;
}

/* ==================== TRAVEL FEED SECTION ==================== */
.travel-feed {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.travel-feed h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ==================== POST LOCATION & DATE ==================== */
.post-date,
.post-location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.post-location {
    color: var(--color-accent);
}

/* ==================== POST IMAGE STYLING ==================== */
.post-image {
    width: 100%;
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all var(--transition-base);
}

.post-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ==================== PAGINATION STYLING ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
    flex-wrap: wrap;
}

.page-link,
.next-page {
    padding: 12px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.page-link:hover,
.next-page:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.page-link.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
}
.current-country {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.current-country h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.current-country .country_id {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-bright);
    margin-bottom: var(--spacing-lg);
}
.udvozollek h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--text-primary), var(--color-accent-bright));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.country-flag {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.4);
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

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

/* ==================== ACTION BUTTONS ==================== */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}
.action-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(72, 132, 167, 0.178);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.action-buttons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(189, 189, 189, 0.151);
    transition: all 0.4s ease;
}
.social-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.social-media-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-media-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: var(--glass-bg);
    padding: 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.social-media-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md);
}
.instagram-button {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
}

.youtube-button {
    background: #ff0000;
    color: white;
}

.social-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(22, 27, 34, 0.9));
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-accent-bright);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-left: var(--spacing-lg);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-bright);
    padding-left: var(--spacing-xl);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.bottom-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
    display: flex;
    gap: var(--spacing-sm);
}

.language-switcher button {
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.language-switcher button:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--color-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.language-switcher button.active {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    border-color: var(--color-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
}

/* ==================== RESPONSIVE DESIGN ==================== */
modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .section-modern {
        padding: var(--spacing-lg);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container,
    .filter-container {
        flex-direction: column;
    }
    
    .form-input,
    select {
        min-width: unset;
        width: 100%;
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 32px;
    }
    
    .modal-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        opacity: 1;
        top: auto;
        bottom: 20px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .gombok {
        padding: var(--spacing-md);
    }
    
    .gombok img {
        width: 60px;
        height: 60px;
    }
}

/* ==================== UTILITY ANIMATIONS ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== LOADING STATES ==================== */
.loading-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmerSkeleton 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmerSkeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==================== ACCESSIBILITY ==================== */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.5);
        --text-secondary: #ffffff;
    }
}

/* ==================== SELECTION STYLING ==================== */
::selection {
    background: rgba(96, 165, 250, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(96, 165, 250, 0.3);
    color: var(--text-primary);
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-bright);
}

/* ==================== CARD SYSTEM ==================== */
.card-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--color-accent);
}

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

/* ==================== BADGE SYSTEM ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    color: white;
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.4);
}

.badge-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

/* ==================== AVATAR SYSTEM ==================== */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    transition: all var(--transition-base);
    object-fit: cover;
}

.avatar:hover {
    border-color: var(--color-accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

/* ==================== NOTIFICATION SYSTEM ==================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    min-width: 300px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.success {
    border-left: 4px solid #22c55e;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.info {
    border-left: 4px solid var(--color-accent);
}

.ellipsis {
    color: var(--text-secondary);
    padding: 0 var(--spacing-sm);
    font-weight: 600;
}
/* ==================== TABS COMPONENT ==================== */
.tabs {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.tab-button {
    background: none;
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
    position: relative;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.tab-button:hover {
    color: var(--text-primary);
    background: rgba(96, 165, 250, 0.05);
}

.tab-button.active {
    color: var(--color-accent-bright);
}

.tab-button.active::after {
    transform: scaleX(1);
}
.tab-content {
    padding: var(--spacing-xl);
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* ==================== TOOLTIP SYSTEM ==================== */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
    border: 1px solid var(--glass-border);
}

.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ==================== PRINT STYLES ==================== */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    header,
    footer,
    .no-print {
        display: none !important;
    }
}

/* ==================== ADVANCED MICRO-INTERACTIONS ==================== */
.btn-magnetic {
    transition: all var(--transition-base);
}

.btn-magnetic:hover {
    animation: magneticPulse 0.8s ease-in-out infinite;
}

@keyframes magneticPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==================== PARALLAX SCROLL EFFECTS ==================== */
.parallax-layer {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== GRADIENT TEXT ANIMATION ==================== */
.gradient-text {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright), var(--color-accent));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientTextFlow 3s linear infinite;
}

@keyframes gradientTextFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ==================== FLOATING PARTICLES BACKGROUND ==================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 20s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ==================== NEON GLOW EFFECT ==================== */
.neon-glow {
    text-shadow: 
        0 0 10px rgba(96, 165, 250, 0.8),
        0 0 20px rgba(96, 165, 250, 0.6),
        0 0 30px rgba(96, 165, 250, 0.4),
        0 0 40px rgba(96, 165, 250, 0.2);
    animation: neonFlicker 3s ease-in-out infinite;
}

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

/* ==================== HOLOGRAPHIC EFFECT ==================== */
.holographic {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(96, 165, 250, 0.2) 0%,
        rgba(147, 197, 253, 0.2) 25%,
        rgba(96, 165, 250, 0.2) 50%,
        rgba(59, 130, 246, 0.2) 75%,
        rgba(96, 165, 250, 0.2) 100%);
    background-size: 200% 200%;
    animation: holographicShift 4s ease infinite;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==================== GLITCH EFFECT ==================== */
.glitch {
    position: relative;
    animation: glitchAnimation 5s infinite;
}

@keyframes glitchAnimation {
    0%, 90%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    92% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    94% {
        transform: translate(2px, -2px);
        filter: hue-rotate(-90deg);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

/* ==================== RIPPLE EFFECT ON CLICK ==================== */
.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================== TYPEWRITER EFFECT ==================== */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--color-accent);
    white-space: nowrap;
    animation: 
        typing 3.5s steps(40, end),
        blinkCursor 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-accent); }
}

/* ==================== SPOTLIGHT EFFECT ==================== */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.spotlight:hover::before {
    opacity: 1;
    animation: spotlightMove 2s ease-in-out infinite;
}

@keyframes spotlightMove {
    0%, 100% { transform: translate(-25%, -25%); }
    50% { transform: translate(-15%, -15%); }
}

/* ==================== TILT EFFECT (3D) ==================== */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform var(--transition-base);
}

.tilt-3d:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

/* ==================== BORDER ANIMATION ==================== */
.animated-border {
    position: relative;
    border: 2px solid transparent;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--color-accent), 
        var(--color-accent-bright), 
        var(--color-accent), 
        var(--color-accent-dim));
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.animated-border:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== WAVE ANIMATION ==================== */
.wave-animation {
    position: relative;
    overflow: hidden;
}

.wave-animation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(135deg, 
        transparent 40%, 
        rgba(96, 165, 250, 0.1) 50%, 
        transparent 60%);
    animation: waveMove 3s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* ==================== BREATHING ANIMATION ==================== */
.breathing {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* ==================== SCAN LINE EFFECT ==================== */
.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent, 
        rgba(96, 165, 250, 0.3), 
        transparent);
    animation: scanDown 3s linear infinite;
}

@keyframes scanDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ==================== STAGGER GRID ANIMATION ==================== */
.stagger-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.stagger-grid > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-grid > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-grid > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-grid > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-grid > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-grid > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-grid > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-grid > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-grid > *:nth-child(8) { animation-delay: 0.8s; }

/* ==================== MORPH ANIMATION ==================== */
.morph-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 20% / 70% 30% 50% 60%; }
}

/* ==================== REVEAL ON SCROLL ==================== */
.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==================== COUNTER ANIMATION ==================== */
.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent-bright);
    font-family: 'Space Grotesk', sans-serif;
}

/* ==================== PERSPECTIVE CARD ==================== */
.perspective-card {
    perspective: 1000px;
}

.perspective-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.perspective-card:hover .perspective-card-inner {
    transform: rotateY(180deg);
}

.perspective-card-front,
.perspective-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
}

.perspective-card-back {
    transform: rotateY(180deg);
}

/* ==================== AURORA BACKGROUND EFFECT ==================== */
.aurora-bg {
    position: relative;
    overflow: hidden;
}

.aurora-bg::before,
.aurora-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: auroraFloat 15s ease-in-out infinite;
}

.aurora-bg::before {
    top: -50%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    animation-delay: -7s;
}

.aurora-bg::after {
    bottom: -50%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, var(--color-accent-bright) 0%, transparent 70%);
}

@keyframes auroraFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ==================== UTILITY CLASSES ==================== */
.blur-effect { filter: blur(8px); }
.grayscale-effect { filter: grayscale(100%); }
.brightness-effect { filter: brightness(1.2); }
.contrast-effect { filter: contrast(1.2); }
.saturate-effect { filter: saturate(1.5); }

.rotate-hover:hover { transform: rotate(5deg); }
.scale-hover:hover { transform: scale(1.05); }
.skew-hover:hover { transform: skewX(-5deg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

.search-container {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Modern form inputs */
.form-input {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    min-width: 200px;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 155, 110, 0.2);
}

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

#gallery-search {
    color: white;
    font-size: 0.4cm;
    background-color: #242a3b4d;
    border-color: transparent;
    border-radius: 20px;
    flex: 1;
    min-width: 300px;
}

/* Gallery grid modernization */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}


/* Base style for form inputs and selects */
.gallery-controls .form-input,
.gallery-controls select {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    min-width: 200px;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.gallery-controls .form-input:focus,
.gallery-controls select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 155, 110, 0.2);
}

.gallery-controls .form-input::placeholder {
    color: var(--text-secondary);
}


/* Styling for the select dropdowns to match the design language */
.gallery-controls select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b3c4b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dim));
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.4);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
    z-index: 0;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.5);
}
/* Button styles, reusing the primary button design */
.gallery-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-green);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(72, 132, 167, 0.178);
    position: relative;
    overflow: hidden;
        transition: all 0.4s ease;
}

.gallery-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(189, 189, 189, 0.151);
    transition: all 0.4s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container,
    .filter-container {
        flex-direction: column;
    }
    
    .gallery-controls .form-input,
    .gallery-controls select {
        min-width: unset;
        width: 100%;
    }
}

/* ==================== RESPONSIVE FIXES ==================== */
@media (max-width: 768px) {
    .progress-labels {
        flex-direction: column;
        text-align: center;
    }
    
    .progress-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .current-location {
        padding: var(--spacing-xl);
    }
    
    .travel-feed {
        padding: var(--spacing-lg);
    }
    
    .post-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: var(--spacing-xs);
    }
    
    .page-link,
    .next-page {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .country-flag {
        width: 80px;
        height: 80px;
    }
}