/* Global Styles */
:root {
    --primary-color: #7e22ce;
    --primary-dark: #6b21a8;
    --primary-light: #a855f7;
    --secondary-color: #f3e8ff;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.youtube {
    background-color: #ff0000;
    color: white;
}

.discord {
    background-color: #5865F2;
    color: white;
}

.twitter {
    background-color: #1DA1F2;
    color: white;
}

/* Added */
.snapchat {
    background-color: #FFFC00;
    color: #000;
}

.section {
    padding: 6rem 0;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: saturate(180%) blur(12px);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

body.theme-dark header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Header compacting */
header .container {
    padding: 1rem 20px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

body.theme-dark .logo {
    color: #ffffff;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
    position: relative;
}

body.theme-dark nav ul li a {
    color: #ffffff;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 14rem 0 5rem;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    position: relative;
    overflow: hidden;
    /* Removed gradient shift animation */
}

/* Removed gradient shift keyframes */

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    cursor: default;
}

.hero h1:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(126, 34, 206, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
    transition: all 0.3s ease;
    cursor: default;
}

.hero p:hover {
    color: var(--dark-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.social-links:hover {
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.2);
    max-width: 400px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(126, 34, 206, 0.3);
    filter: brightness(1.1);
}

/* Hero elements - no more floating animations */
.hero-content h1 {
    /* Removed floating animation */
}

.hero-content p {
    /* Removed floating animation */
}

.social-links {
    /* Removed floating animation */
}

/* About Section */
.about {
    background-color: white;
}

body.theme-dark .about {
    background-color: #0f172a;
}

.about-content {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.about-text {
    flex: 1;
}

.about-skills {
    flex: 1;
}

/* Improved to support many items */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    flex: 1 1 180px;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.label {
    font-size: 1rem;
    color: var(--gray-color);
}

.skill {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

/* YouTube Section */
.youtube-section {
    background-color: #f8fafc;
}

body.theme-dark .youtube-section {
    background-color: #0b1220;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(126, 34, 206, 0.1);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-button {
    opacity: 1;
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 5px;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.views {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.more-videos {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Servers Section */
.servers-section {
    background-color: white;
}

/* Added */
.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.server-card {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(126, 34, 206, 0.1);
    border-color: var(--primary-light);
}

.server-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.server-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.server-stats i {
    color: var(--primary-color);
}

.join-btn {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.join-btn:hover {
    background-color: var(--primary-dark);
}

/* Partners Section */
.partners-section {
    background-color: #f8fafc;
}

.partners-content {
    max-width: 800px;
    margin: 0 auto;
}

.partner-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    border-radius: 10px;
}

.partner-btn {
    background-color: var(--primary-color);
    color: white;
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: #94a3b8;
}

.footer-links h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-newsletter h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-newsletter p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Design system extensions */
:root {
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
	--shadow-md: 0 10px 24px rgba(0,0,0,0.10);
	--shadow-lg: 0 22px 48px rgba(0,0,0,0.14);
	--card-bg: #ffffff;
	--card-border: #e2e8f0;
}

/* Dark theme */
body.theme-dark {
	--light-color: #0b1220;
	--dark-color: #e5e7eb;
	--secondary-color: #0f172a;
	--gray-color: #9aa4b2;
	--card-bg: #0f172a;
	--card-border: #1e293b;
}

/* Global section spacing and anchor offset */
section {
	padding: 6rem 0;
	scroll-margin-top: 96px;
}

/* Modern header: translucent with blur */
header {
	background-color: rgba(255,255,255,0.7);
	backdrop-filter: saturate(180%) blur(12px);
}

body.theme-dark header {
	background-color: rgba(0, 0, 0, 0.9);
	backdrop-filter: saturate(180%) blur(12px);
}

/* Active nav link */
nav ul li a.active {
	color: var(--primary-color);
}

nav ul li a.active::after {
	width: 100%;
}

/* Theme toggle */
.theme-toggle {
	background: transparent;
	border: 1px solid var(--card-border);
	color: var(--dark-color);
	border-radius: 999px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.theme-toggle:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

body.theme-dark .theme-toggle {
	color: #ffffff;
	border-color: #334155;
}

body.theme-dark .theme-toggle:hover {
	background-color: rgba(168, 85, 247, 0.1);
	border-color: var(--primary-color);
}

/* Unify card visuals */
.video-card,
.server-card,
.partner-card,
.stat-card {
	background-color: var(--card-bg);
	border: 1px solid var(--card-border);
	box-shadow: var(--shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover,
.server-card:hover,
.partner-card:hover,
.stat-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-md);
}

/* Hero image radius via token */
.hero-image img {
	border-radius: var(--radius-lg);
}

/* Dark hero gradient */
body.theme-dark .hero {
	background: linear-gradient(135deg, #2a1744 0%, #1d1033 100%);
}

/* Better focus visibility */
:focus-visible {
	outline: 3px solid var(--primary-light);
	outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Statistics Section */
.statistics-section {
    background-color: #f8fafc;
}

body.theme-dark .statistics-section {
    background-color: #0b1220;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-title {
    font-weight: 600;
    color: var(--dark-color);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-note {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* Pair layout inside stat card */
.stat-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    width: 100%;
}

.stat-item .stat-subtitle {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.stat-item .stat-value {
    font-size: 1.4rem;
}

@media (max-width: 420px) {
    .stat-pair {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Body and sections backgrounds in dark mode */
body.theme-dark {
    background-color: #0b1220;
    color: #e5e7eb;
}

body.theme-dark p {
    color: #cbd5e1;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6 {
    color: #ffffff;
}

body.theme-dark section,
body.theme-dark .youtube-section,
body.theme-dark .servers-section,
body.theme-dark .partners-section,
body.theme-dark .contact-section,
body.theme-dark .about {
    background-color: #0f172a;
}

/* Header sizing and layout */
header .container {
    padding: 0.75rem 20px;
}

.logo {
    font-size: 1.4rem;
}

nav ul {
    gap: 1.25rem;
}

.theme-toggle {
    margin-left: 2rem;
}

/* Statistics one-row layout and equal cards */
.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    min-height: 150px;
}

.stat-value {
    word-break: break-word;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* About layout tweaks */
.about-content {
    align-items: flex-start;
}

.about-text p + p {
    margin-top: 0.5rem;
}

/* Server logo support */
.server-card .server-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 0.75rem;
}

.server-card .server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loader overlay */
#siteLoader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.9);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#siteLoader.active {
    opacity: 1;
    pointer-events: all;
}

.loader-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 6px solid rgba(168, 85, 247, 0.25);
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Profile image */
.profile-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(126, 34, 206, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(126, 34, 206, 0.35);
}

@media (max-width: 992px) {
    .profile-photo {
        width: 260px;
        height: 260px;
    }
}

/* Hero spacing for large image */
.hero {
    padding: 8rem 0 4rem;
}

/* Server card spacing */
.server-card p {
    margin: 0.75rem 0 1rem;
}

/* Servers grid: keep 4 on desktop */
@media (min-width: 992px) {
	.servers-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Profile image ring */
.profile-photo {
	border: 4px solid rgba(168, 85, 247, 0.35);
}

body.theme-dark .profile-photo {
	border-color: rgba(168, 85, 247, 0.55);
}

/* About columns centering */
.about-text,
.about-skills {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Dark theme for contact */
body.theme-dark .contact-section {
	background-color: #0f172a;
}

body.theme-dark .contact-section .contact-info p,
body.theme-dark .contact-section h3,
body.theme-dark .contact-section .contact-social a {
	color: #e5e7eb;
}

body.theme-dark .contact-section .contact-social a:hover {
	background-color: var(--primary-color);
	color: #fff;
}

body.theme-dark .contact-section .form-group input,
body.theme-dark .contact-section .form-group textarea {
	background-color: #0b1220;
	border-color: #334155;
	color: #e5e7eb;
}

/* Footer dark override */
body.theme-dark footer {
	background-color: #0b1220;
}

body.theme-dark .footer-bottom {
	border-top-color: #1f2a44;
}

/* Remove newsletter spacing side-effects */
.footer-content {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Toast notification */
.toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -40%);
	min-width: 280px;
	font-size: 1rem;
	background: var(--card-bg);
	color: var(--dark-color);
	border: 1px solid var(--card-border);
	box-shadow: var(--shadow-md);
	border-radius: var(--radius-md);
	padding: 0.75rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 3000;
	opacity: 0;
	transform: translateY(-8px);
	animation: toast-in 0.25s ease forwards;
}

.toast .icon { color: #22c55e; }

@keyframes toast-in {
	to { opacity: 1; transform: translateY(0); }
}

/* Centered toast */
.toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -40%);
	min-width: 280px;
	font-size: 1rem;
}

.toast .icon { color: #22c55e; }

/* Card hover outline */
.server-card:hover,
.partner-card:hover,
.stat-card:hover {
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.8), var(--shadow-md);
}

/* Level buttons inside cards */
.partner-card .partner-btn,
.server-card .join-btn,
.stat-card .btn {
	margin-top: auto;
}

.partner-card,
.server-card,
.stat-card {
	display: flex;
	flex-direction: column;
}

/* Hide logo text in sticky state */
header.scrolled .logo { display: none; }

/* Ensure circular profile image */
.profile-photo {
	border-radius: 50% !important;
}

/* Particles canvas */
#bgParticles {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.15;
}

/* Lift site content above particles */
main, footer { position: relative; z-index: 1; }

/* Bigger centered toast */
.toast {
    min-width: 360px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    transform: translate(-50%, -45%);
}

/* Hero title: simple gradient text */
.hero-title.with-sheen {
    position: relative;
    display: inline-block;
    background-image: linear-gradient(90deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 0% 50%;
    /* Removed hero gradient animation */
}

body.theme-dark .hero-title.with-sheen {
    background-image: linear-gradient(90deg, #e5e7eb, #a855f7);
}

/* Removed hero gradient keyframes */

/* Hero particles canvas */
#heroParticles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.12;
}

.hero-content { position: relative; z-index: 1; }

/* Ensure logo hides when scrolled */
header.scrolled .logo { display: none; }



