/*
Theme Name: KAMUGAME Ultimate
Theme URI: https://kamugame.com
Author: KAMUGAME
Author URI: https://kamugame.com
Description: Premium WordPress theme with dark gaming aesthetic, stunning visual effects, animated elements, and modern design. Perfect for gaming websites and communities.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamugame
*/

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - MapleStory N Theme */
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-pink: #ec4899;
    --dark-bg: #0a0a0f;
    --dark-card: #1a1a2e;
    --dark-card-hover: #252541;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glow-purple: rgba(139, 92, 246, 0.5);
    --glow-blue: rgba(59, 130, 246, 0.5);
    --glow-pink: rgba(236, 72, 153, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-blue);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(30px);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    transition: var(--transition-normal);
    box-shadow: 0 5px 30px rgba(139, 92, 246, 0.1);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 10px 50px rgba(139, 92, 246, 0.3);
    border-bottom: 2px solid rgba(139, 92, 246, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    transition: var(--transition-fast);
    letter-spacing: 2px;
}

.site-logo:hover {
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.9));
    transform: scale(1.05);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.main-navigation a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    opacity: 0;
    transition: var(--transition-normal);
    border-radius: var(--radius-md);
}

.main-navigation a:hover::before {
    width: 80%;
}

.main-navigation a:hover::after {
    opacity: 1;
}

.main-navigation a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--gradient-primary);
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--gradient-dark);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Hero Logo at Top */
.hero-logo {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.5rem;
    color: transparent;
    -webkit-text-stroke: 3px #8b5cf6;
    text-stroke: 3px #8b5cf6;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: fadeInDown 1s ease, logoGlow 3s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(139, 92, 246, 0.4),
        inset 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Hero Logo Image */
.hero-logo-img {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.6));
    animation: fadeInDown 1s ease, logoGlow 3s ease-in-out infinite;
}

.logo-italic {
    font-style: italic;
    transform: skewX(-10deg);
    display: inline-block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8));
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Character Decorations */
.hero-character {
    position: absolute;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    animation: floatAnimation 6s ease-in-out infinite;
    border: 3px solid transparent;
    border-radius: 12px;
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
        linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8), rgba(59, 130, 246, 0.8)) border-box;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(236, 72, 153, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
    padding: 10px;
}

.hero-character-left {
    left: 5%;
    max-height: 70vh;
    max-width: 30vw;
    object-fit: contain;
    animation-delay: 0s;
}

.hero-character-right {
    right: 5%;
    max-height: 70vh;
    max-width: 30vw;
    object-fit: contain;
    animation-delay: 1s;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Hero Floating Particles & Decorations */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 15%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 20%;
    left: 80%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 15%;
    left: 50%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 8%;
    left: 30%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 8px;
    height: 8px;
    top: 12%;
    left: 70%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    top: 5%;
    left: 90%;
    animation-duration: 13s;
    animation-delay: 5s;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.8), transparent);
}

.particle:nth-child(7) {
    width: 10px;
    height: 10px;
    top: 18%;
    left: 10%;
    animation-duration: 10s;
    animation-delay: 2.5s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), transparent);
}

.particle:nth-child(8) {
    width: 12px;
    height: 12px;
    top: 8%;
    left: 60%;
    animation-duration: 14s;
    animation-delay: 4.5s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Glowing Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    animation: pulseOrb 4s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent);
    top: -50px;
    right: 15%;
    animation-delay: 1.5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent);
    top: 50px;
    left: 50%;
    animation-delay: 3s;
}

@keyframes pulseOrb {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2) translateY(-20px);
        opacity: 0.5;
    }
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 30px var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--glow-purple);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-10px);
    background: var(--dark-card-hover);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: 0 20px 60px var(--glow-purple);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px var(--glow-pink);
}

/* ===== NEWS SECTION ===== */
.news-section {
    background: var(--dark-bg);
}

/* ===== RANKING SECTION ===== */
.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(37, 37, 65, 0.8));
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 2px solid rgba(139, 92, 246, 0.3);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    transition: left 0.5s;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: linear-gradient(135deg, rgba(37, 37, 65, 0.9), rgba(26, 26, 46, 0.9));
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.ranking-content {
    position: relative;
    min-height: 400px;
}

.ranking-list {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6), rgba(37, 37, 65, 0.6));
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ranking-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), transparent);
}

.ranking-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), transparent);
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    background: rgba(10, 10, 15, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.ranking-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.ranking-item:hover::before {
    transform: scaleY(1);
}

.ranking-item:last-child {
    margin-bottom: 0;
}

.ranking-item:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

/* Top 3 Special Styling */
.ranking-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.ranking-item:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(139, 92, 246, 0.2));
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.ranking-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(192, 192, 192, 0.4);
}

.ranking-item:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(139, 92, 246, 0.2));
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.3);
}

.ranking-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(205, 127, 50, 0.4);
}

.ranking-item:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(139, 92, 246, 0.2));
    box-shadow: 0 15px 40px rgba(205, 127, 50, 0.3);
}

.ranking-number {
    font-size: 2rem;
    font-weight: 800;
    margin-right: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 4rem;
    text-align: center;
    position: relative;
}

/* Medal Icons for Top 3 */
.ranking-item:nth-child(1) .ranking-number::before {
    content: '🏆';
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.ranking-item:nth-child(2) .ranking-number::before {
    content: '🥈';
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.8));
}

.ranking-item:nth-child(3) .ranking-number::before {
    content: '🥉';
    position: absolute;
    left: -1.5rem;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(205, 127, 50, 0.8));
}

.ranking-item span:not(.ranking-number) {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

/* ===== GUIDE SECTION ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--glow-purple);
    background: var(--dark-card-hover);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--glow-purple));
}

.guide-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(236, 72, 153, 0.8), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
}

.footer-column {
    position: relative;
}

.footer-column::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
            transparent,
            rgba(139, 92, 246, 0.5) 20%,
            rgba(139, 92, 246, 0.5) 80%,
            transparent);
}

.footer-column:last-child::after {
    display: none;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 0;
}

.footer-column a::before {
    content: '▸';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-normal);
    color: var(--primary-purple);
}

.footer-column a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-column a:hover {
    color: var(--primary-purple);
    padding-left: 0;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: all var(--transition-normal);
    z-index: -1;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    border-color: transparent;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.7);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(139, 92, 246, 0.3);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .ranking-tabs {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-character {
        display: none;
    }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.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;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PAGE & SINGLE POST TEMPLATES ===== */
#main-content {
    min-height: 60vh;
    padding-top: 100px;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.entry-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.entry-content h2 {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-footer {
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.5);
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

/* Elementor Compatibility */
.elementor-page #main-content {
    padding-top: 80px;
}

.elementor-page .site-main {
    max-width: 100%;
    padding: 0;
}