/* ============================================
   CSS Variables - Matching shotist.net Design
   ============================================ */
:root {
    /* Colors - Matching shotist.net aesthetic with orange accents */
    --primary-color: #000000;
    --secondary-color: #0a0a0a;
    --accent-color: #FF6B35;
    --accent-hover: #FF8C42;
    --accent-light: rgba(255, 107, 53, 0.1);
    --accent-medium: rgba(255, 107, 53, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --background: #000000;
    --card-background: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 107, 53, 0.08);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 107, 53, 0.3);
    --shadow: rgba(0, 0, 0, 0.5);
    --glow: rgba(255, 107, 53, 0.15);
    --glow-intense: rgba(255, 107, 53, 0.25);
    
    /* Typography - Modern sans-serif matching shotist.net */
    --font-family: 'Inter', 'Noto Sans Hebrew', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-h1: 2.5rem;
    --font-size-h2: 1.75rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    
    /* Border Radius - Minimal, modern */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;
    
    /* Transitions - Smooth, professional */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max-width: 580px;
    --link-height: 64px;
    
    /* Effects */
    --blur: blur(20px);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

html[dir="rtl"] {
    direction: rtl;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default; /* Keep default cursor visible */
}

/* ============================================
   Background Overlay - Minimal black with subtle effects
   ============================================ */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: -1;
    pointer-events: none;
}

/* Subtle gradient overlay for depth */
.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    opacity: 0.6;
}

/* Subtle noise texture */
.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.003) 2px, rgba(255, 255, 255, 0.003) 4px);
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Profile Section
   ============================================ */
.profile-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image-wrapper {
    margin: 0 auto var(--spacing-lg);
    width: 140px;
    height: 140px;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-image:hover {
    transform: scale(1.02);
    border-color: var(--border-accent);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
}

.profile-name {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.profile-bio {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
}

/* ============================================
   Links Section
   ============================================ */
.links-section {
    margin-bottom: var(--spacing-xl);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Link Button Styles - Matching shotist.net minimal aesthetic */
.link-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    width: 100%;
    height: var(--link-height);
    padding: 0 var(--spacing-lg);
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

html[dir="rtl"] .link-button {
    flex-direction: row-reverse;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-light);
    transition: width var(--transition-base), background var(--transition-base);
    z-index: 0;
}

html[dir="rtl"] .link-button::before {
    left: auto;
    right: 0;
}

.link-button:hover::before {
    width: 100%;
}

.link-button:hover {
    background: var(--card-hover);
    border-color: var(--border-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

/* Platform-specific hover colors */
.link-button[data-platform="kick"]:hover {
    border-color: rgba(83, 252, 24, 0.5);
    box-shadow: 0 4px 20px rgba(83, 252, 24, 0.3);
}

.link-button[data-platform="kick"]:hover::before {
    background: rgba(83, 252, 24, 0.1);
}

.link-button[data-platform="tiktok"]:hover {
    border-color: rgba(255, 0, 80, 0.5);
    box-shadow: 0 4px 20px rgba(255, 0, 80, 0.3);
}

.link-button[data-platform="tiktok"]:hover::before {
    background: rgba(255, 0, 80, 0.1);
}

.link-button[data-platform="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.link-button[data-platform="youtube"]:hover::before {
    background: rgba(255, 0, 0, 0.1);
}

.link-button[data-platform="instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.link-button[data-platform="instagram"]:hover::before {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.1), rgba(131, 58, 180, 0.1));
}

.link-button[data-platform="discord"]:hover {
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.link-button[data-platform="discord"]:hover::before {
    background: rgba(88, 101, 242, 0.1);
}

.link-button > * {
    position: relative;
    z-index: 1;
}

.link-button:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

.link-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.link-button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Link Icon */
.link-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Platform-specific icon hover effects - enhance existing colors */
.link-button[data-platform="kick"]:hover .link-icon img {
    transform: scale(1.1);
    opacity: 1;
}

.link-button[data-platform="tiktok"]:hover .link-icon img {
    transform: scale(1.1);
    opacity: 1;
}

.link-button[data-platform="youtube"]:hover .link-icon img {
    transform: scale(1.1);
    opacity: 1;
}

.link-button[data-platform="instagram"]:hover .link-icon img {
    transform: scale(1.1);
    opacity: 1;
}

.link-button[data-platform="discord"]:hover .link-icon img {
    transform: scale(1.1);
    opacity: 1;
}

/* Link Text */
.link-text {
    flex: 1;
    text-align: left;
}

html[dir="rtl"] .link-text {
    text-align: right;
}

.link-title {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.3;
}

.link-subtitle {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    font-weight: var(--font-weight-normal);
    line-height: 1.4;
}

/* Link Arrow */
.link-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

html[dir="rtl"] .link-arrow svg {
    transform: scaleX(-1);
}

.link-button:hover .link-arrow {
    opacity: 0.8;
    transform: translateX(4px);
}

html[dir="rtl"] .link-button:hover .link-arrow {
    transform: translateX(-4px);
}

/* Special Link Styles */
.link-button.primary {
    background: var(--accent-light);
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.link-button.primary:hover {
    background: var(--accent-medium);
    border-color: var(--accent-color);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.footer-text {
    font-size: var(--font-size-small);
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.01em;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-body: 0.9375rem;
        --container-max-width: 100%;
        --spacing-xl: 3rem;
        --link-height: 60px;
    }
    
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .profile-image-wrapper {
        width: 120px;
        height: 120px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-body: 0.875rem;
        --link-height: 56px;
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    body {
        padding: var(--spacing-sm);
    }
    
    .profile-image-wrapper {
        width: 110px;
        height: 110px;
        margin-bottom: var(--spacing-md);
    }
    
    .link-button {
        padding: 0 var(--spacing-md);
        font-size: var(--font-size-body);
        height: var(--link-height);
    }
    
    .link-icon {
        width: 22px;
        height: 22px;
    }
    
    .profile-name {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-xs);
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    :root {
        --container-max-width: 650px;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
.link-button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --card-background: rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   Loading States
   ============================================ */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   Mouse Glow Follow Effect
   ============================================ */
.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow) 0%, rgba(255, 107, 53, 0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    will-change: transform;
    opacity: 1;
}

.mouse-glow.glow-intense {
    background: radial-gradient(circle, var(--glow-intense) 0%, rgba(255, 107, 53, 0.1) 40%, transparent 70%);
    width: 500px;
    height: 500px;
}

/* Hide glow on touch devices */
@media (hover: none) {
    .mouse-glow {
        display: none;
    }
}

/* Ensure interactive elements are clickable above glow */
a, button, .link-button {
    position: relative;
    z-index: 10000;
}

/* ============================================
   Utility Classes
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

