/* ==========================================
   NEXUS INFO WIKI - UNIQUE DESIGN v1.0
   Color Palette: Rose-Red (#ff6b7a, #e94560)
   Style: Glassmorphism + Cyberpunk
   ========================================== */

:root {
    /* Primary Rose-Red Colors */
    --primary: #ff6b7a;
    --primary-dark: #e94560;
    --primary-darker: #d63651;
    --primary-light: #ff8593;
    --rose-red: rgb(233, 69, 96);

    /* Secondary Colors */
    --secondary: #f44336;
    --accent-orange: #ff9800;
    --accent-purple: #9c27b0;

    /* Background */
    --bg-primary: rgba(26, 26, 46, 0.95);
    --bg-secondary: rgba(20, 20, 35, 0.9);
    --bg-card: rgba(40, 40, 60, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 107, 122, 0.1) 0%, rgba(233, 69, 96, 0.1) 100%);

    /* Shadows */
    --shadow-primary: 0 8px 32px rgba(233, 69, 96, 0.3);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 107, 122, 0.4);
}

/* ========== RESET & BASE ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Particles */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* ========== HEADER & NAVIGATION ========== */

header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 122, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-glow);
    letter-spacing: 2px;
}

.logo:hover {
    filter: brightness(1.2);
    cursor: pointer;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
    background: rgba(255, 107, 122, 0.1);
}

nav ul li a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

nav ul li a.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========== HERO SECTION ========== */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 107, 122, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(233, 69, 96, 0.8));
    }
}

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

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    background: var(--bg-glass);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.5);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ========== GLASS CARD ========== */

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(255, 107, 122, 0.5);
}

/* ========== SECTIONS ========== */

section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

section h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ========== GRID LAYOUTS ========== */

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 122, 0.15);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ========== CRYPTO PRICES WIDGET ========== */

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

.crypto-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 122, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.crypto-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.crypto-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.crypto-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.crypto-card .change {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.crypto-card .change.positive {
    color: #4caf50;
}

.crypto-card .change.negative {
    color: #f44336;
}

.crypto-card .volume,
.crypto-card .timestamp {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ========== GUIDES SECTION ========== */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary);
}

.guide-content {
    padding: 1.5rem;
}

.guide-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.guide-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.read-more {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* ========== NEWS SECTION ========== */

.news-item {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-primary);
}

.news-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ========== FOOTER ========== */

footer {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 107, 122, 0.2);
    margin-top: 6rem;
    padding: 3rem 2rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 122, 0.1);
    text-align: center;
    color: var(--text-muted);
}

/* ========== UTILITIES ========== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-freshness {
    text-align: center;
    padding: 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 3rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding-top: 1rem;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .grid,
    .grid-3,
    .guides-grid {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 2rem;
    }
}

/* ========== ANIMATIONS ========== */

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

/* ========== ACCESS CTA BUTTON ========== */

.btn-access-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #9c27b0 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(233, 69, 96, 0.4),
        0 0 20px rgba(255, 107, 122, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: gradientShift 3s ease infinite, pulse-glow 2s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 8px 32px rgba(233, 69, 96, 0.4),
            0 0 20px rgba(255, 107, 122, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 12px 48px rgba(233, 69, 96, 0.6),
            0 0 40px rgba(255, 107, 122, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.btn-access-cta::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.6s ease;
}

.btn-access-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(233, 69, 96, 0.6),
        0 0 60px rgba(255, 107, 122, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
}

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

.btn-access-cta .btn-icon {
    font-size: 1.4rem;
    animation: float-icon 2s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ========== ENHANCED GUIDE CARDS ========== */

.guide-card-enhanced {
    background: linear-gradient(145deg, var(--bg-glass), rgba(40, 40, 60, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.guide-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.guide-card-enhanced::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 122, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.guide-card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow:
        0 20px 60px rgba(233, 69, 96, 0.3),
        0 0 30px rgba(255, 107, 122, 0.2);
}

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

.guide-card-enhanced:hover::after {
    opacity: 1;
}

.guide-card-enhanced .guide-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.guide-card-enhanced .guide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card-enhanced:hover .guide-image-wrapper img {
    transform: scale(1.1);
}

.guide-card-enhanced .guide-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(26, 26, 46, 0.9) 100%);
}

.guide-card-enhanced .guide-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.guide-card-enhanced .guide-content {
    padding: 1.8rem;
    position: relative;
    z-index: 1;
}

.guide-card-enhanced .guide-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.guide-card-enhanced:hover .guide-content h3 {
    color: var(--primary-light);
}

.guide-card-enhanced .guide-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.guide-card-enhanced .guide-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.guide-card-enhanced .guide-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-card-enhanced .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 25px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-card-enhanced .read-more-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.guide-card-enhanced .read-more-btn .arrow {
    transition: transform 0.3s ease;
}

.guide-card-enhanced:hover .read-more-btn .arrow {
    transform: translateX(5px);
}

/* ========== STYLED EXTERNAL LINKS ========== */

.glass-card a[target="_blank"],
.glass-card a[rel*="noopener"],
p a[href^="https://"],
section a[href^="https://"] {
    color: var(--primary-light);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    padding: 2px 6px;
    margin: 0 2px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255, 107, 122, 0.1), rgba(233, 69, 96, 0.15));
    border: 1px solid rgba(255, 107, 122, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.glass-card a[target="_blank"]::after,
p a[href^="https://"]::after,
section a[href^="https://"]::after {
    content: '↗';
    font-size: 0.75em;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.glass-card a[target="_blank"]:hover,
p a[href^="https://"]:hover,
section a[href^="https://"]:hover {
    background: linear-gradient(135deg, rgba(255, 107, 122, 0.25), rgba(233, 69, 96, 0.3));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    transform: translateY(-1px);
}

.glass-card a[target="_blank"]:hover::after,
p a[href^="https://"]:hover::after,
section a[href^="https://"]:hover::after {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* ========== PRIVACY & SECURITY ORGANIZATIONS ========== */

.org-resources-section {
    background: linear-gradient(145deg, rgba(40, 40, 60, 0.8), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.org-resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.org-resources-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 122, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.org-category {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 122, 0.15);
    transition: all 0.3s ease;
}

.org-category:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
}

.org-category h4 {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-category h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.org-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 107, 122, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.org-link:hover {
    background: rgba(255, 107, 122, 0.15);
    border-color: rgba(255, 107, 122, 0.3);
    color: var(--primary-light);
    transform: translateX(5px);
}

.org-link::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.org-link:hover::before {
    transform: translateX(3px);
}

.org-link::after {
    content: '↗';
    margin-left: auto;
    opacity: 0;
    font-size: 0.8em;
    transition: opacity 0.3s ease;
}

.org-link:hover::after {
    opacity: 0.7;
}

/* ========== SECURITY CHECKLIST ENHANCED ========== */

.security-checklist-section {
    background: linear-gradient(145deg, rgba(40, 40, 60, 0.8), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(255, 107, 122, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.checklist-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 107, 122, 0.15);
}

.checklist-card h3 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 107, 122, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-card h3 .checklist-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

ul.security-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.security-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 107, 122, 0.05);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

ul.security-checklist li:hover {
    background: rgba(255, 107, 122, 0.12);
    border-color: rgba(255, 107, 122, 0.25);
    transform: translateX(5px);
}

ul.security-checklist li::before {
    content: '☐';
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

ul.security-checklist li:hover::before {
    content: '☑';
    color: #4caf50;
    transform: scale(1.1);
}

/* ========== ACCESSIBILITY ========== */

:focus {
    outline: 2px solid var(--primary);
    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;
    }
}
