/* RG RANKS - Main Stylesheet */

/* CSS Variables */
:root {
    --dark-bg: #0a0a12;
    --darker-bg: #050508;
    --card-bg: #121220;
    --accent-cyan: #00f0ff;
    --accent-magenta: #ff00ff;
    --accent-purple: #8a2be2;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --header-height: 70px;
    --transition-speed: 0.3s;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen - New Design with RG text and rotating circle */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    position: relative;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-magenta);
    border-radius: 50%;
    animation: loaderRotate 1.5s linear infinite;
}

@keyframes loaderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    background-color: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all var(--transition-speed) ease;
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(10, 10, 18, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

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

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 5px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.discord-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-speed) ease;
}

.mobile-menu-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition-speed) ease;
}

.mobile-menu-btn span:nth-child(1) { top: 11px; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 11px; }

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform var(--transition-speed) ease;
    border-bottom: 2px solid var(--accent-cyan);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-content a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    display: block;
    border: 1px solid transparent;
}

.mobile-menu-content a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(5px);
}

.mobile-discord-btn {
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: white !important;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--darker-bg) 0%, var(--dark-bg) 70%);
    padding: 120px 0 80px;
}

/* Fixed padding for small screens to prevent navbar overlap */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
}

/* Ambient Canvas */
.ambient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

/* Gradient Layers */
.gradient-layer {
    position: absolute;
    width: 150%;
    height: 150%;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatGradient 20s ease-in-out infinite;
}

.gradient-1 {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: -50%;
    left: -25%;
    animation-duration: 25s;
}

.gradient-2 {
    background: radial-gradient(circle, var(--accent-magenta) 0%, transparent 70%);
    bottom: -50%;
    right: -25%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.gradient-3 {
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes floatGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

/* Hero title styling with adjusted gap */
.hero h1 {
    margin-bottom: 30px;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    letter-spacing: 6px;
    margin-bottom: 10px; /* Reduced gap between titles */
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 240, 255, 0.8),
                     0 0 40px rgba(0, 240, 255, 0.4);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, var(--accent-cyan), var(--accent-magenta), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    line-height: 1.1;
}

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

.hero-description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin: 20px 0 40px;
    font-weight: 300;
    line-height: 1.6;
}

/* Download Info Section */
.download-info {
    margin: 30px 0 20px 0;
    text-align: left;
}

.version-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.version-number {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0 5px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: versionGlow 2s ease-in-out infinite;
}

@keyframes versionGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
    }
}

.download-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons - Fixed to prevent size changes on click */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    /* Fixed transform to only use translateY on hover, not affecting size */
    transform: translateY(0);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-java {
    background: linear-gradient(45deg, #ff6b35, #f77f00);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-bedrock {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

/* Hover states without transform scale */
.btn:hover {
    transform: translateY(-5px);
}

.btn-java:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.btn-bedrock:hover {
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.6);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

/* Active/Click state - maintain size */
.btn:active {
    transform: translateY(-3px);
}

/* Button Ripple Effect - Fixed to not affect button size */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

@keyframes rippleAnimation {
    to {
        width: 200px !important;
        height: 200px !important;
        opacity: 0;
    }
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

.floating-cube-container {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: floatRotate 20s infinite linear;
}

@keyframes floatRotate {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.floating-cube {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.floating-cube .cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(5px);
}

.floating-cube .front { transform: translateZ(50px); background: rgba(0, 240, 255, 0.2); }
.floating-cube .back { transform: rotateY(180deg) translateZ(50px); background: rgba(255, 0, 255, 0.2); }
.floating-cube .right { transform: rotateY(90deg) translateZ(50px); background: rgba(138, 43, 226, 0.2); }
.floating-cube .left { transform: rotateY(-90deg) translateZ(50px); background: rgba(0, 240, 255, 0.2); }
.floating-cube .top { transform: rotateX(90deg) translateZ(50px); background: rgba(255, 0, 255, 0.2); }
.floating-cube .bottom { transform: rotateX(-90deg) translateZ(50px); background: rgba(138, 43, 226, 0.2); }

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

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.features-section {
    background: var(--dark-bg);
}

.gallery-section {
    background: var(--darker-bg);
}

.installation-section {
    background: var(--dark-bg);
}

.faq-section {
    background: var(--darker-bg);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    position: relative;
    font-weight: 700;
}

.title-gradient {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
}

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

/* Removed mouse glow effect */
.feature-hover-effect {
    display: none;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 280px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transform-style: preserve-3d;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.4);
    border-color: rgba(0, 240, 255, 0.3);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Add this new style for the fallback text */
.gallery-placeholder .placeholder-text {
    position: absolute;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    /* Only show text if image fails to load */
    display: none;
}

/* Show placeholder text only when no background image */
.gallery-placeholder:not([style*="background-image"]) .placeholder-text,
.gallery-placeholder[style*="url('')"] .placeholder-text {
    display: block;
}

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 25px;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Removed gallery hover effect */
.gallery-hover-effect {
    display: none;
}

/* Installation Steps */
.installation-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 50px;
    align-items: flex-start;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-magenta));
    opacity: 0.3;
}

.step:last-child::before {
    display: none;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
    position: relative;
    z-index: 2;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-content {
    flex: 1;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Tutorial Video Section */
.tutorial-section {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-video-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tutorial-video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.5);
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
}

.tutorial-video-box:hover .play-button {
    background: var(--accent-magenta);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.6);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.video-overlay span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Support Section */
.support-section {
    text-align: center;
    margin-top: 40px;
}

.support-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-support-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(45deg, #5865F2, #7289DA);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-support-discord:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
}

.btn-support-discord i {
    font-size: 1.3rem;
}

/* Responsive adjustments for tutorial section */
@media (max-width: 768px) {
    .tutorial-section {
        margin-top: 40px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-overlay span {
        font-size: 1rem;
    }
    
    .support-text {
        font-size: 1.1rem;
    }
    
    .btn-support-discord {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tutorial-section {
        margin-top: 30px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    .support-text {
        font-size: 1rem;
    }
    
    .btn-support-discord {
        width: 100%;
        justify-content: center;
    }
}

/* Tutorial Heading - Same style as support text */
.tutorial-heading {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

/* Responsive tutorial heading */
@media (max-width: 768px) {
    .tutorial-heading {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .tutorial-heading {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.02);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.faq-toggle {
    transition: transform 0.4s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--accent-magenta);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--accent-cyan);
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-magenta);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Social Links - Updated with glow effect */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5),
                0 0 30px rgba(0, 240, 255, 0.4);
}

/* Copyright and Credits */
.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1rem;
}

.copyright p {
    margin-bottom: 10px;
}

.credits {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.team-highlight {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding: 0 5px;
}

.team-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    opacity: 0.5;
    animation: glowLine 2s ease-in-out infinite;
}

@keyframes glowLine {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

/* Scroll to Top Button - Updated with glow effect */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5),
                0 0 30px rgba(0, 240, 255, 0.4);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }

    .hero-text {
        max-width: 100%;
    }

    .nav-wrapper {
        gap: 20px;
    }

    .nav-links, .discord-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

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

    .gradient-layer {
        filter: blur(80px);
    }
}

@media (max-width: 768px) {
    /* Fixed hero padding to prevent navbar overlap */
    .hero {
        padding-top: 130px;
        min-height: calc(100vh - 50px);
    }
    
    /* Increased size and boldness for small screens */
    .hero-title {
        font-size: 3.2rem;
        font-weight: 900;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 4px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 1.15rem;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.3rem;
        margin-bottom: 60px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 25px;
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 30px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .step-content {
        padding: 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    /* Enhanced text size for small screens */
    .hero-title {
        font-size: 2.5rem;
        font-weight: 900;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
        margin-bottom: 5px;
    }
    
    .hero-content {
        padding: 0 15px;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 30px;
        margin-top: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
    }
    
    .step::before {
        display: none;
    }
    
    .step-number {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .step-content {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .credits {
        font-size: 0.9rem;
    }
}

/* Font for specific elements */
.hero-title, .hero-subtitle, .logo, .section-title, .feature-card h3, .step-content h3, .faq-question {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600; /* This makes it bold */
}

/* Make navigation logo extra bold */
.logo {
    font-weight: 700;
}

/* Make "Server Rank Textures" extra bold */
.hero-title {
    font-weight: 800;
}

/* Make loading screen "RG" bold */
.loader-logo {
    font-weight: 800;
}


/* Rank Prefixes Button Section */
.rank-prefixes-section {
    margin: 40px 0 20px 0;
    text-align: center;
}

.rank-prefixes-btn {
    display: inline-block !important;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .rank-prefixes-section {
        margin: 30px 0 15px 0;
    }
}

