/* HytaleCraft.sk - Modern Gaming Theme */
/* Logo: Hytale (blue #3B82F6) + Craft (red #EF4444) */

:root {
    /* Brand colors - from logo */
    --brand-blue: #3B82F6;
    --brand-red: #EF4444;
    --brand-blue-light: #60A5FA;
    --brand-red-light: #F87171;
    
    /* UI Colors */
    --primary: #3B82F6;
    --secondary: #6366F1;
    --accent: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    /* Background - light gradient */
    --bg-dark: #0F172A;
    --bg-medium: #1E293B;
    --bg-light: #334155;
    --bg-card: rgba(30, 41, 59, 0.8);
    
    /* Text */
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    
    /* Effects */
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

/* Subtle pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(239, 68, 68, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* === NAVBAR === */
.navbar-custom,
nav.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO - Hytale (blue) + Craft (red) - no space */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand .brand-hytale {
    color: var(--brand-blue);
}

.navbar-brand .brand-craft {
    color: var(--brand-red);
}

.navbar-toggler {
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233B82F6' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    background: var(--bg-medium);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--brand-blue);
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero h2 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

/* === BUTTONS === */
.btn-primary,
.btn-primary-custom {
    background: linear-gradient(135deg, var(--brand-blue), var(--secondary));
    color: white !important;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover,
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    color: white !important;
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid rgba(59, 130, 246, 0.4);
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
}

.btn-light {
    background: var(--brand-red);
    color: white !important;
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    transition: all 0.2s ease;
}

.btn-light:hover {
    background: var(--brand-red-light);
    transform: translateY(-2px);
}

/* === SECTIONS === */
.section {
    padding: 50px 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.5rem;
    text-align: center;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === CARDS === */
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.feature-card:hover,
.card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--glow-blue);
    transform: translateY(-3px);
}

.feature-card i,
.feature-icon {
    font-size: 2.2rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3,
.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.feature-card p,
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.card-body {
    padding: 1.25rem;
}

/* === CONTENT CARDS === */
.content-card {
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.content-card.entity-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.content-card.disclaimer-box {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.content-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-card .lead {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.content-card ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.content-card ul li {
    margin-bottom: 0.5rem;
}

.content-card a {
    color: var(--brand-blue);
    text-decoration: none;
}

.content-card a:hover {
    color: var(--brand-blue-light);
    text-decoration: underline;
}

/* === CTA / RECRUITMENT === */
.recruitment-box,
.cta-section,
.bg-gradient {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.recruitment-box h2,
.cta-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.recruitment-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.recruitment-box p,
.cta-section p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* === ALERTS === */
.info-box,
.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.warning-box,
.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    color: var(--warning);
}

.alert-warning h4 {
    color: var(--warning);
    margin-bottom: 0.5rem;
}

/* === TEAM === */
.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.team-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: var(--glow-red);
}

.team-card img,
.team-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--brand-blue);
    object-fit: cover;
}

.team-card .avatar {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.team-card h3,
.team-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--brand-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === TABLES === */
.table-custom,
.table-responsive {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.table {
    color: var(--text-secondary);
    margin: 0;
}

.table thead {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(239, 68, 68, 0.15));
}

.table th {
    color: var(--text-primary);
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table td {
    border-color: rgba(59, 130, 246, 0.1);
    padding: 0.85rem 1rem;
}

.table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

/* === FOOTER === */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2.5rem 0 1.5rem;
    margin-top: 50px;
}

footer h5 {
    color: var(--brand-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--brand-blue);
    text-decoration: none;
}

footer a:hover {
    color: var(--brand-red);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.copyright p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-medium);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.75rem;
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .nav-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 50px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .recruitment-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .content-card {
        padding: 1.25rem;
    }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.row { display: flex; flex-wrap: wrap; margin: 0 -0.75rem; }
.col-md-4 { flex: 0 0 100%; padding: 0 0.75rem; margin-bottom: 1rem; }
.col-md-6 { flex: 0 0 100%; padding: 0 0.75rem; margin-bottom: 1rem; }
.col-lg-10 { flex: 0 0 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.my-5 { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.g-4 > * { padding: 0.6rem; }
.lead { font-size: 1.1rem; }
.small { font-size: 0.85rem; }

@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
}

/* === BOOTSTRAP OVERRIDES - Dark Theme === */
.card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    color: var(--text-secondary) !important;
}

.card-body {
    background: transparent !important;
}

.card h3, .card h4, .card h5 {
    color: var(--text-primary) !important;
}

.card ol, .card ul {
    color: var(--text-secondary);
}

.card ol li, .card ul li {
    margin-bottom: 0.5rem;
}

/* Alert overrides */
.alert-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: var(--text-primary) !important;
}

.alert-warning h4 {
    color: var(--warning) !important;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    color: var(--text-primary) !important;
}

/* Server cards override */
.server-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
}

.server-card:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: var(--glow-blue) !important;
}

.server-name {
    color: var(--text-primary) !important;
}

.server-info {
    background: rgba(15, 23, 42, 0.5) !important;
    border-radius: 10px !important;
}

.server-info-label {
    color: var(--text-muted) !important;
}

.server-info-value {
    color: var(--text-primary) !important;
}

.server-info-value code {
    background: rgba(59, 130, 246, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--brand-blue);
}

.server-info-item i {
    color: var(--brand-blue) !important;
}

.server-description {
    color: var(--text-secondary) !important;
}

.copy-ip-btn {
    background: linear-gradient(135deg, var(--brand-blue), var(--secondary)) !important;
    border: none !important;
}

.copy-ip-btn:hover {
    box-shadow: var(--glow-blue) !important;
}

.no-servers, .no-team {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    color: var(--text-primary) !important;
}

.no-servers i, .no-team i {
    color: var(--text-muted) !important;
}

.no-servers h3, .no-team h3 {
    color: var(--text-primary) !important;
}

.no-servers p, .no-team p {
    color: var(--text-secondary) !important;
}

/* Team cards override - moved to full styling section above */

.team-name {
    color: var(--text-primary) !important;
}

.team-position {
    color: var(--brand-blue) !important;
}

.team-contact {
    border-top-color: rgba(59, 130, 246, 0.2) !important;
    color: var(--text-muted) !important;
}

.team-contact i {
    color: var(--brand-blue) !important;
}

.team-avatar, .team-avatar-placeholder {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.team-card:hover .team-avatar,
.team-card:hover .team-avatar-placeholder {
    border-color: var(--brand-blue) !important;
}

.team-category-title {
    color: var(--text-primary) !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.team-category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red)) !important;
    border-radius: 2px;
}

/* Team cards full styling */
.team-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 16px !important;
    padding: 35px 25px !important;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red)) !important;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover {
    border-color: var(--brand-red) !important;
    box-shadow: var(--glow-red) !important;
    transform: translateY(-5px);
}

.team-card:hover:before {
    transform: scaleX(1);
}

/* Status badges */
.status-online {
    background: rgba(16, 185, 129, 0.2) !important;
    color: var(--success) !important;
}

.status-offline {
    background: rgba(239, 68, 68, 0.2) !important;
    color: var(--danger) !important;
}

/* Partner links in footer */
.partner-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-links a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.partner-links a:hover {
    color: var(--brand-red);
}

/* No-servers and no-team boxes - improved */
.no-servers,
.no-team {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 16px !important;
    padding: 50px 30px !important;
    text-align: center;
}

.no-servers i,
.no-team i {
    font-size: 3.5rem;
    color: var(--text-muted) !important;
    margin-bottom: 1.5rem;
    display: block;
}

.no-servers h3,
.no-team h3 {
    color: var(--text-primary) !important;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.no-servers p,
.no-team p {
    color: var(--text-secondary) !important;
    margin-bottom: 1.5rem;
}

/* Table fixes - no white background */
.table-custom {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.table {
    background: transparent !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

.table thead {
    background: rgba(59, 130, 246, 0.15) !important;
}

.table thead th {
    color: var(--text-primary) !important;
    border: none !important;
    padding: 1rem !important;
    font-weight: 600;
}

.table tbody {
    background: transparent !important;
}

.table tbody tr {
    background: transparent !important;
}

.table tbody td {
    background: transparent !important;
    border-color: rgba(59, 130, 246, 0.1) !important;
    padding: 1rem !important;
    color: var(--text-secondary) !important;
}

.table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05) !important;
}

/* Card fixes - no white background */
.card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-radius: 16px !important;
    color: var(--text-secondary) !important;
}

.card-body {
    background: transparent !important;
    padding: 1.5rem !important;
}

.card h3, 
.card h4, 
.card h5 {
    color: var(--text-primary) !important;
    margin-bottom: 1rem;
}

.card ol,
.card ul {
    color: var(--text-secondary) !important;
    padding-left: 1.25rem;
}

.card ol li,
.card ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* === WOW EFFECTS === */

/* Subtle floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Gradient shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Glow pulse */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.25); }
}

/* Feature cards hover float */
.feature-card {
    animation: glow-pulse 4s ease-in-out infinite;
}

.feature-card:hover {
    animation: float 2s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2), 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Hero gradient animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        transparent 50%,
        rgba(239, 68, 68, 0.08) 100%
    );
    background-size: 200% 200%;
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

/* Button hover glow */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Card entrance animation */
.feature-card,
.card,
.info-box {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}

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

/* Staggered animation delays */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Icon bounce on hover */
.feature-icon i,
.feature-card i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i,
.feature-card:hover > i {
    transform: scale(1.15);
}

/* Subtle text gradient for headings */
.hero h1 {
    background: linear-gradient(135deg, #F8FAFC 0%, #3B82F6 50%, #EF4444 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
}

/* Footer links hover effect */
footer a {
    position: relative;
    transition: color 0.3s ease;
}

footer a:hover {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Partner links subtle animation */
.partner-links a {
    transition: all 0.3s ease;
}

.partner-links a:hover {
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page transitions feel */
body {
    animation: fadeIn 0.4s ease;
}

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

/* === ENHANCED WOW EFFECTS === */

/* Particle background effect for hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 30%);
    animation: backgroundPulse 10s ease-in-out infinite;
    pointer-events: none;
}

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

/* Glowing border effect for cards - simplified */
.feature-card,
.card {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.card:hover {
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.3);
}

/* Typing cursor effect for hero subtitle */
.hero h2::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--brand-blue);
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Subtle lift effect on cards */
.feature-card:hover {
    transform: translateY(-5px);
}

/* Magnetic button effect */
.btn-primary {
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Outline button glow */
.btn-outline-light:hover {
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Section reveal on scroll (works with IntersectionObserver) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Icon spinning on hover */
.feature-icon i {
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2) rotate(10deg);
    color: var(--brand-red);
}

/* Navbar glass morphism effect */
.navbar-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* CTA section animated gradient */
.cta-section {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2) 0%, 
        rgba(30, 58, 138, 0.3) 50%, 
        rgba(239, 68, 68, 0.15) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

/* Footer wave effect */
footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230F172A'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}

footer {
    position: relative;
}

/* Text selection color */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

/* Loading skeleton effect */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0.1) 25%, 
        rgba(59, 130, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 4px;
}

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

/* Hover lift effect for all interactive elements */
.info-box {
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

/* Brand text animation */
.brand-hytale {
    display: inline-block;
    transition: all 0.3s ease;
}

.brand-craft {
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-hytale {
    transform: translateX(-2px);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.navbar-brand:hover .brand-craft {
    transform: translateX(2px);
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

/* === PREMIUM VISUAL EFFECTS === */

/* Animated gradient border on feature cards */
.feature-card {
    position: relative;
    background: var(--bg-card);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--brand-blue), 
        var(--brand-red), 
        var(--brand-blue));
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

/* Glowing icon effect */
.feature-card .feature-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(239, 68, 68, 0.1));
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2);
}

.feature-card .feature-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

/* Floating particles animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(239, 68, 68, 0.3), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(239, 68, 68, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-200px) translateX(50px); }
}

/* Glassmorphism effect for cards */
.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Neon glow buttons */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--brand-blue), #2563EB);
    border: none;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

.btn-primary:hover {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.1);
}

/* Animated underline for links */
.nav-link,
footer a,
.card a {
    position: relative;
    text-decoration: none;
}

/* Morphing background for hero */
.hero {
    background: 
        linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
}

/* Pulse animation for Discord button */
.btn-discord {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(88, 101, 242, 0); }
}

/* Ripple effect on click */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Animated counter numbers */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shine effect on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Floating animation for hero elements */
.hero h1 {
    animation: floatText 6s ease-in-out infinite;
}

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

/* Staggered reveal for feature cards */
.features-grid .feature-card:nth-child(1) { animation-delay: 0s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.5s; }

/* Hover color shift for icons */
.feature-card:hover .fa-users { color: #3B82F6 !important; }
.feature-card:hover .fa-newspaper { color: #EF4444 !important; }
.feature-card:hover .fa-server { color: #10B981 !important; }
.feature-card:hover .fa-gamepad { color: #F59E0B !important; }
.feature-card:hover .fa-discord { color: #5865F2 !important; }
.feature-card:hover .fa-globe { color: #8B5CF6 !important; }

/* Animated border for info boxes */
.info-box {
    position: relative;
    background: var(--bg-card);
    border: none;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-red));
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Section divider with gradient */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--brand-blue), 
        var(--brand-red), 
        transparent);
    margin: 3rem 0;
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Enhanced table hover */
.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    transform: scale(1.01);
}

/* Footer glow effect */
footer {
    position: relative;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.5), 
        rgba(239, 68, 68, 0.5), 
        transparent);
}

/* Cursor glow effect (optional - performance heavy) */
@media (hover: hover) {
    .cursor-glow {
        position: fixed;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
        opacity: 0;
    }
    
    body:hover .cursor-glow {
        opacity: 1;
    }
}

/* Logo text gradient animation */
.navbar-brand {
    background: linear-gradient(135deg, var(--brand-blue), #F8FAFC, var(--brand-red));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: logoShine 5s linear infinite;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Hover scale for team members */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.team-card:hover img {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Page section fade in on scroll */
.section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Modal/overlay backdrop blur */
.modal-backdrop,
.overlay {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-red));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563EB, #DC2626);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-blue) var(--bg-dark);
}

/* === VÝRAZNEJŠIE EFEKTY === */

/* Dramatic hero entrance */
.hero h1 {
    animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h2 {
    animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero p {
    animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero .btn {
    animation: heroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Neon glow text effect */
.neon-text {
    text-shadow: 
        0 0 5px var(--brand-blue),
        0 0 10px var(--brand-blue),
        0 0 20px var(--brand-blue),
        0 0 40px var(--brand-blue);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        text-shadow: 
            0 0 5px var(--brand-blue),
            0 0 10px var(--brand-blue),
            0 0 20px var(--brand-blue),
            0 0 40px var(--brand-blue);
    }
    50% { 
        text-shadow: 
            0 0 10px var(--brand-blue),
            0 0 20px var(--brand-blue),
            0 0 40px var(--brand-blue),
            0 0 80px var(--brand-blue);
    }
}

/* Morphing background gradient */
.hero {
    background: 
        linear-gradient(135deg, 
            rgba(59, 130, 246, 0.1) 0%, 
            transparent 50%, 
            rgba(239, 68, 68, 0.1) 100%),
        var(--bg-dark);
    background-size: 400% 400%;
    animation: gradientMorph 15s ease infinite;
}

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

/* Card 3D transform on hover */
.feature-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
}

/* Dramatic button effects */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1D4ED8 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 40px rgba(59, 130, 246, 0.5),
        0 0 30px rgba(59, 130, 246, 0.3);
}

.btn-primary::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: left 0.6s ease;
}

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

/* Glowing border animation */
.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--brand-blue), 
        var(--brand-red), 
        var(--brand-blue), 
        var(--brand-red));
    background-size: 400% 400%;
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    animation: borderRotate 3s linear infinite;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

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

/* Particle effect overlay */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brand-blue);
    border-radius: 50%;
    animation: particleRise 10s linear infinite;
    opacity: 0.6;
}

@keyframes particleRise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Typing effect */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--brand-blue);
    white-space: nowrap;
    animation: 
        typing 3s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

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

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--brand-blue); }
}

/* Magnetic hover effect for icons */
.magnetic-icon {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-icon:hover {
    transform: scale(1.3) rotate(10deg);
}

/* Wave animation for sections */
.wave-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.wave-divider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%230F172A' opacity='.25'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%230F172A' opacity='.5'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%230F172A'/%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: wave 10s linear infinite;
}

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

/* 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(59, 130, 246, 0.15) 0%, transparent 60%);
    animation: spotlightMove 8s linear infinite;
    pointer-events: none;
}

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

/* Glassmorphism card variant */
.glass-effect {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Animated counter */
.counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer text styling for long description */
footer .col-md-4:first-child p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
}

/* Performance optimizations */
.feature-card,
.card,
.btn,
.nav-link {
    will-change: transform;
}

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

/* GPU acceleration hints */
.hero,
.feature-card,
.btn-primary {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== FAQ SECTION STYLES ===== */
.faq-section {
    background: #1E293B;
    padding: 60px 0;
}

.faq-item {
    background: #0F172A !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-button {
    background: #0F172A !important;
    color: #F8FAFC !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none !important;
    box-shadow: none !important;
}

.faq-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(239, 68, 68, 0.1)) !important;
    color: #3B82F6 !important;
}

.faq-button::after {
    filter: brightness(0) invert(1);
}

.faq-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(200deg) brightness(100%) contrast(96%);
}

.faq-button:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

.faq-body {
    background: #0F172A;
    color: #CBD5E1 !important;
    padding: 20px 25px;
    line-height: 1.7;
    border-top: 1px solid #334155;
}

.faq-item:hover {
    border-color: #3B82F6 !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}
