/* --- 1. CORE VARIABLES & DARK THEME --- */
:root {
    --bg-color: #0d0d12;         /* Deep, rich dark background */
    --text-color: #e4e4e7;       /* Soft, readable off-white */
    --text-muted: #a1a1aa;       /* For secondary text */
    --card-bg: #18181b;          /* Slightly lighter for contrast */
    --accent-color: #a855f7;     /* Vibrant modern purple */
    --accent-hover: #c084fc;     /* Lighter purple for hover states */
/*    --border-color: #27272a;     /* Subtle borders */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- 2. SMOOTH RESETS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Crisper text rendering on modern screens */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 3. THE GRADIENT HEADER --- */
.navbar {
    /* Dark purple (#1a0b2e) to lighter purple (#4c1d95) gradient */
    background: linear-gradient(to right, #1a0b2e, #4c1d95);
    color: #ffffff;
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Modern drop shadow */
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 0rem;
}

.header-krng {
    color: #001aff;
    text-decoration: none;
    font-weight: 1000;
    transition: opacity 0.6s ease;
    opacity: 0.6;
}

.header-secondary {
    color: #ffffff;
    text-decoration: none;
    font-weight: 1000;
    transition: opacity 0.6s ease;
    opacity: 0.4;
}

.navbar a:hover {
    opacity: 1;
}


/* --- 4. PAGE LOAD ANIMATIONS --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    padding: 3rem 3rem;
    /* Triggers a smooth fade-up effect when the page loads */
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    gap: 1rem;
}

.list-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.list-par {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- 5. MODERN WIKI CARDS (UPDATED) --- */
.wiki-grid {
    display: flex;
    flex-direction: column; /* Stacks them one on top of the other */
    align-items: center;    /* Keeps them perfectly centered on the page */
    gap: 2rem;              /* Space between the stacked buttons */
}
/* --- 5.1. Card list (every different medias card styles */
.card-yt {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;    /* Slightly rounder corners for larger cards */
    
    /* This makes them much taller from top to bottom */
    padding: 1.5rem 1.5rem;     
    min-height: 150px;      
    
    /* This keeps them from stretching further left and right */
    width: 100%;
    max-width: 750px;       

    /* Centers the text perfectly inside the large button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-yt:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px #f7555526;
    border-color: #f75555;
}

.card-yt h3 {
    color: var(--accent-color);
    font-size: 1.8rem;      /* Larger, more defined title */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-yt:hover h3 {
    color: #ff0000;
}

.card-yt p {
    color: var(--text-muted);
    font-size: 1.05rem;     /* Slightly larger description text */
}

.card-insta {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;    /* Slightly rounder corners for larger cards */
    
    /* This makes them much taller from top to bottom */
    padding: 1.5rem 1.5rem;     
    min-height: 150px;      
    
    /* This keeps them from stretching further left and right */
    width: 100%;
    max-width: 750px;       

    /* Centers the text perfectly inside the large button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-insta:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px #f7559926;
    border-color: var(--accent-color);
}

.card-insta h3 {
    color: var(--accent-color);
    font-size: 1.8rem;      /* Larger, more defined title */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-insta:hover h3 {
    color: #f75599;
}

.card-insta p {
    color: var(--text-muted);
    font-size: 1.05rem;     /* Slightly larger description text */
}

.card-x {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;    /* Slightly rounder corners for larger cards */
    
    /* This makes them much taller from top to bottom */
    padding: 1.5rem 1.5rem;     
    min-height: 150px;      
    
    /* This keeps them from stretching further left and right */
    width: 100%;
    max-width: 750px;       

    /* Centers the text perfectly inside the large button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-x:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(66, 66, 66, 0.15);
    border-color: var(--accent-color);
}

.card-x h3 {
    color: var(--accent-color);
    font-size: 1.8rem;      /* Larger, more defined title */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-x:hover h3 {
    color: #000000;
}

.card-x p {
    color: var(--text-muted);
    font-size: 1.05rem;     /* Slightly larger description text */
}

.card-tt {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;    /* Slightly rounder corners for larger cards */
    
    /* This makes them much taller from top to bottom */
    padding: 1.5rem 1.5rem;     
    min-height: 150px;      
    
    /* This keeps them from stretching further left and right */
    width: 100%;
    max-width: 750px;       

    /* Centers the text perfectly inside the large button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-tt:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px #57ffdb26;
    border-color: var(--accent-color);
}

.card-tt h3 {
    color: var(--accent-color);
    font-size: 1.8rem;      /* Larger, more defined title */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-tt:hover h3 {
    color: #57ffdb;
}

.card-tt p {
    color: var(--text-muted);
    font-size: 1.05rem;     /* Slightly larger description text */
}

.card-dsc {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;    /* Slightly rounder corners for larger cards */
    
    /* This makes them much taller from top to bottom */
    padding: 1.5rem 1.5rem;     
    min-height: 150px;      
    
    /* This keeps them from stretching further left and right */
    width: 100%;
    max-width: 750px;       

    /* Centers the text perfectly inside the large button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.card-dsc:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px #2735ff26;
    border-color: var(--accent-color);
}

.card-dsc h3 {
    color: var(--accent-color);
    font-size: 1.8rem;      /* Larger, more defined title */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-dsc:hover h3 {
    color: #2735ff;
}

.card-dsc p {
    color: var(--text-muted);
    font-size: 1.05rem;     /* Slightly larger description text */
}

/* --- 6. BUTTONS & FORWARDING PAGE --- */
.btn-group {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(1px); /* Satisfying click effect */
}

.btn-yes {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-yes:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 15px rgba(168, 85, 247, 0.3); /* Purple glow on the button */
}

.btn-no {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-no:hover {
    background-color: var(--card-bg);
    border-color: var(--text-muted);
}

/* Updated Warning Box for Dark Theme */
.warning-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color); /* Sleek purple accent line */
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.warning-box h2 {
    margin-bottom: 1rem;
}

#redirecting-screen {
    display: none;
    text-align: center;
    margin-top: 4rem;
    animation: fadeUp 0.4s ease forwards;
}

#redirecting-screen h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}