/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --accent: #4a9eff;
    --accent-hover: #6bb0ff;
    --border: #2a2a2a;
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    background-image: url('images/banniere_RealityV_discord.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    z-index: -1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 2px 10px var(--shadow);
    background: transparent;
    padding: 1rem 0;
}

.header-content {
    max-width: 95%;
    margin: 0 auto;
    background: transparent;
    backdrop-filter: blur(5px);
    padding: 2rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 150px;
    height: auto;
}

/* Barres décoratives verticales avec rayures diagonales */
.decorative-bar {
    width: 3px;
    height: 80%;
    background: repeating-linear-gradient(
        45deg,
        var(--accent) 0px,
        var(--accent) 5px,
        transparent 5px,
        transparent 10px
    );
    position: relative;
    z-index: 1;
    opacity: 0.7;
}

.decorative-bar.bar-left {
    order: 2;
}

.decorative-bar.bar-right {
    order: 4;
}

.header-left {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: 1;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.header-center {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
}

.header-center-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-center-logo:hover {
    transform: scale(1.05);
}

.header-center-logo img {
    max-height: 180px;
    width: auto;
    max-width: 800px;
    object-fit: contain;
    display: block;
}

.header-right {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    order: 5;
}

.welcome-box {
    background: linear-gradient(135deg, #2d5aa0, #4a9eff);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.reality-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(74, 158, 255, 0.8),
        0 0 20px rgba(74, 158, 255, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1;
}

.reality-title .stylized-v {
    display: inline-block;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a9eff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    animation: logoGlow 2s ease-in-out infinite;
    text-shadow: 
        0 0 10px rgba(74, 158, 255, 0.8),
        0 0 20px rgba(74, 158, 255, 0.6);
}

.logo:hover {
    color: var(--accent-hover);
    transform: scale(1.05);
    text-shadow: 0 0 20px var(--accent);
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 5px var(--accent);
    }
    50% {
        text-shadow: 0 0 15px var(--accent), 0 0 25px var(--accent);
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    position: relative;
    font-size: 1rem;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: pageFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 158, 255, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-banner:hover::before {
    opacity: 1;
}

.hero-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(74, 158, 255, 0.3);
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    animation: imageFloat 6s ease-in-out infinite;
}

.hero-banner:hover img {
    transform: scale(1.05);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover), #ff6b9d, var(--accent));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite, titleGlow 2s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    animation: titleUnderline 1s ease forwards 0.5s;
}

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

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.8));
    }
}

@keyframes titleUnderline {
    to {
        width: 100%;
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.page-logo {
    width: 200px;
    height: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.3));
    animation: logoFloat 4s ease-in-out infinite, logoPulse 2s ease-in-out infinite;
    object-fit: contain;
}

.page-logo:hover {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.6));
}

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

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.6));
    }
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: slideInDown 0.8s ease forwards;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.title-logo-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFloat 4s ease-in-out infinite;
    flex-shrink: 0;
}

.title-logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-header h1::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: slideInLeft 0.6s ease forwards 0.3s;
    opacity: 0;
}

.page-header h1::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: slideInRight 0.6s ease forwards 0.3s;
    opacity: 0;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        left: -20px;
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        right: -20px;
    }
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Discord Banner */
.discord-banner {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.discord-content {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.1));
    border: 2px solid rgba(88, 101, 242, 0.5);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.discord-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    animation: discordPulse 3s ease-in-out infinite;
}

.discord-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.4);
    border-color: rgba(88, 101, 242, 0.8);
}

@keyframes discordPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.discord-icon {
    font-size: 4rem;
    animation: discordBounce 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes discordBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.discord-text {
    flex: 1;
}

.discord-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #5865F2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.discord-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
    background: linear-gradient(135deg, #4752C4, #5865F2);
}

.discord-button:active {
    transform: translateY(-1px) scale(1.02);
}

.discord-button svg {
    transition: transform 0.3s ease;
}

.discord-button:hover svg {
    transform: rotate(5deg) scale(1.1);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.cards-grid .card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid .card:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }
}

.card {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 6px var(--shadow);
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(74, 158, 255, 0.4);
    border-color: var(--accent);
    background: rgba(35, 35, 35, 0.98);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-logo-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-logo-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card:hover h2 {
    color: var(--accent-hover);
    transform: translateX(5px);
}

.card h2::after {
    content: '→';
    position: relative;
    left: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
}

.card:hover h2::after {
    opacity: 1;
    left: 15px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Sections */
section {
    margin-bottom: 2rem;
}

section.card {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

section.card:nth-child(1) { animation-delay: 0.1s; }
section.card:nth-child(2) { animation-delay: 0.2s; }
section.card:nth-child(3) { animation-delay: 0.3s; }
section.card:nth-child(4) { animation-delay: 0.4s; }
section.card:nth-child(5) { animation-delay: 0.5s; }
section.card:nth-child(6) { animation-delay: 0.6s; }
section.card:nth-child(7) { animation-delay: 0.7s; }
section.card:nth-child(8) { animation-delay: 0.8s; }
section.card:nth-child(9) { animation-delay: 0.9s; }
section.card:nth-child(10) { animation-delay: 1s; }
section.card:nth-child(11) { animation-delay: 1.1s; }
section.card:nth-child(12) { animation-delay: 1.2s; }
section.card:nth-child(13) { animation-delay: 1.3s; }
section.card:nth-child(14) { animation-delay: 1.4s; }
section.card:nth-child(15) { animation-delay: 1.5s; }
section.card:nth-child(16) { animation-delay: 1.6s; }
section.card:nth-child(17) { animation-delay: 1.7s; }
section.card:nth-child(18) { animation-delay: 1.8s; }
section.card:nth-child(19) { animation-delay: 1.9s; }

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

section.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

section.card:hover::before {
    left: 100%;
}

section.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(74, 158, 255, 0.4);
    border-color: var(--accent);
    background: rgba(35, 35, 35, 0.98);
}

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

section.card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
    animation: titleSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

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

section.card h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

section.card:hover h2::after {
    width: 100%;
}

section.card:hover h2 {
    color: var(--accent-hover);
    padding-left: 10px;
    transform: translateX(5px);
}

section.card p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

section.card p:last-child {
    margin-bottom: 0;
}

/* Content List */
.content-list {
    margin-top: 1rem;
}

.content-list p {
    margin-bottom: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0;
    line-height: 1.8;
}

.content-list p:hover {
    padding-left: 12px;
    color: var(--text-primary);
    transform: translateX(8px);
}

.content-list p strong {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-list p:hover strong {
    color: var(--accent);
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

.content-list ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    list-style: none;
    position: relative;
}

.content-list ul::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.5;
}

.content-list li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    padding-left: 0.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-list li:nth-child(1) { animation-delay: 0.1s; }
.content-list li:nth-child(2) { animation-delay: 0.15s; }
.content-list li:nth-child(3) { animation-delay: 0.2s; }
.content-list li:nth-child(4) { animation-delay: 0.25s; }
.content-list li:nth-child(5) { animation-delay: 0.3s; }
.content-list li:nth-child(6) { animation-delay: 0.35s; }
.content-list li:nth-child(7) { animation-delay: 0.4s; }
.content-list li:nth-child(8) { animation-delay: 0.45s; }
.content-list li:nth-child(9) { animation-delay: 0.5s; }
.content-list li:nth-child(10) { animation-delay: 0.55s; }

.content-list li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-list li:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.content-list li:hover {
    color: var(--text-primary);
    transform: translateX(8px);
    padding-left: 0.8rem;
}

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

.content-list strong {
    color: var(--text-primary);
}

.note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(74, 158, 255, 0.1);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    font-style: italic;
}

/* Footer */
footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid var(--border);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: footerLine 1s ease forwards;
}

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

@keyframes footerLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.delay-2 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.delay-3 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.delay-4 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.delay-5 {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.delay-6 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

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

/* Scroll reveal animation */
.reveal {
    position: relative;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) !important;
}

.reveal-left {
    opacity: 0;
}

.reveal-right {
    opacity: 0;
}

.reveal-up {
    opacity: 0;
}

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

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth hover effects */
a:hover, button:hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved card animations */
.card, section.card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Smooth list animations */
.content-list ul, .content-list ol {
    will-change: transform, opacity;
}

/* Content reveal animation */
.content-list h3 {
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

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

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Particle animation */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
}

.particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: rgba(74, 158, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.8);
    animation: particleFloat 8s infinite ease-in-out;
}

/* Enhanced hover effects for interactive elements */
.content-list li,
.content-list p {
    cursor: pointer;
}

/* Pulse effect for important elements */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Gradient text animation for headings */
@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), #ff6b9d, var(--accent));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .header-content {
        padding: 1.5rem 1rem;
        min-height: auto;
        flex-direction: column;
        gap: 1rem;
    }

    .header-left,
    .header-center,
    .header-right {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .reality-title {
        font-size: 2rem;
    }

    .welcome-box {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    nav ul {
        gap: 1rem;
        justify-content: center;
    }

    main {
        padding: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .discord-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .discord-icon {
        font-size: 3rem;
    }

    .discord-text h2 {
        font-size: 1.5rem;
        justify-content: center;
    }

    .discord-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .header-content {
        min-height: 60px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    nav a {
        display: block;
        text-align: center;
        padding: 0.5rem;
    }
}

