:root {
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent: #00f3ff;
    --accent-secondary: #bc13fe;
    --discord-color: #5865F2;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --font-family: 'Inter', system-ui, sans-serif;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    opacity: 0; 
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* --- Animated Background --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #050505;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: var(--accent-secondary); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--accent); bottom: -150px; right: -150px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #2d2dff; top: 40%; left: 40%; animation-duration: 30s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 200px; 
}

.logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar .container {
    max-width: 100%;
    padding: 0 40px;
}

.highlight { color: var(--accent); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-btn { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: 0.3s; font-size: 0.95rem; }
.nav-btn:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 50px; position: relative; display: inline-block; }
.section-title::before { content: ''; position: absolute; left: 0; bottom: -10px; width: 40px; height: 4px; background: var(--accent); border-radius: 2px; }

/* --- Hero --- */
.hero-section { padding: 160px 0 100px; text-align: center; position: relative; }
.hero-tag { display: inline-block; padding: 5px 15px; border: 1px solid var(--accent); color: var(--accent); border-radius: 20px; font-size: 0.8rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero-section h1 { font-size: 4rem; margin-bottom: 20px; line-height: 1.1; }
.text-gradient { background: linear-gradient(to right, var(--accent), var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.bio { max-width: 600px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.15rem; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

.cta-button { padding: 12px 30px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.cta-button.primary { background: var(--accent); color: #000; box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); }
.cta-button.primary:hover { box-shadow: 0 0 30px rgba(0, 243, 255, 0.5); transform: translateY(-2px); }
.cta-button.secondary { border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; background: rgba(255, 255, 255, 0.05); }
.cta-button.secondary:hover { background: rgba(255, 255, 255, 0.1); }

/* --- Projects --- */
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; 
    align-items: start; 
}

.project-card { 
    background: var(--card-bg); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: transform 0.3s ease, border-color 0.3s ease; 
    cursor: pointer; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(5px);
    height: auto; 
    display: flex;
    flex-direction: column;
}

.project-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.thumbnail-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; }
.thumbnail-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.project-card:hover .play-overlay { opacity: 1; }
.card-info { padding: 25px; flex-grow: 1; }
.card-category { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; display: block; }
.card-title { font-size: 1.3rem; font-weight: 600; }

.card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 12px;
    line-height: 1.6;
    font-weight: 400;
}

/* --- Indicator --- */
.card-indicator {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(10px);
}

.project-card:hover .card-indicator {
    max-height: 40px; 
    margin-top: 15px; 
    opacity: 1;
    transform: translateY(0);
}

.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
    pointer-events: none;
}

/* --- Reviews & TOS --- */
.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
}

/* FIXED ALIGNMENT FOR REVIEWS */
.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Flexbox magic to align authors at bottom */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; 
}

.text-block { 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
}

.review-stars { color: #ffd700; margin-bottom: 15px; }

.review-text { 
    color: var(--text-muted); 
    font-style: italic; 
    margin-bottom: 20px; 
    flex-grow: 1; /* Pushes content down */
}

.review-author { font-weight: 700; text-align: right; }

.tos-list { list-style: none; padding: 0; }
.tos-list li { margin-bottom: 20px; position: relative; padding-left: 25px; color: var(--text-muted); }
.tos-list li::before { content: '•'; color: var(--accent); font-weight: bold; font-size: 1.5rem; position: absolute; left: 0; top: -5px; }
.tos-disclaimer { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; color: var(--text-muted); font-style: italic; text-align: center; }
.tos-disclaimer:hover { color: var(--accent); transition: 0.3s ease; }

/* --- Payment Methods --- */
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.payment-card { background: var(--card-bg); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.payment-card:hover { border-color: var(--accent); background: rgba(0, 243, 255, 0.05); transform: translateY(-5px); }
.payment-card .icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.payment-card h3 { font-size: 1.2rem; }
.payment-card p { color: var(--text-muted); font-size: 0.9rem; }

.robux-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 5px; transition: transform 0.3s ease; }
.payment-card:hover .robux-icon { transform: scale(1.1); }

/* --- Contact Square --- */
.contact-wrapper { 
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split into 2 equal columns */
    gap: 30px;
    margin-top: 20px;
}

.contact-wide-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    
    display: flex;
    align-items: center;
    gap: 25px; /* Space between icon and text */
    
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.contact-wide-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.contact-wide-card i {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: 0.3s ease;
}

/* Text Styling */
.contact-wide-card .text-box h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-wide-card .text-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hover Effects */
.contact-wide-card:hover {
    border-color: var(--discord-color);
    background: rgba(88, 101, 242, 0.05);
    transform: translateY(-5px);
}

.contact-wide-card:hover .icon-box {
    background: var(--discord-color);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.contact-wide-card:hover i {
    color: #fff; /* Icon turns white on hover */
}

/* Mobile: Stack them vertically */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Hover Effects */
.contact-square:hover {
    background: rgba(88, 101, 242, 0.1);
    border-color: var(--discord-color);
    color: var(--discord-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.contact-square:hover i { 
    transform: scale(1.1); 
}

/* --- Footer & Modal --- */
footer { padding: 50px 0; text-align: center; color: rgba(255, 255, 255, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.05); }

.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    inset: 0; 
    background-color: #000; /* Pure black */
}

.modal-content { position: relative; margin: 5% auto; width: 90%; max-width: 1000px; }
.close-modal { color: #fff; float: right; font-size: 40px; cursor: pointer; margin-bottom: 10px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-section h1 { font-size: 2.5rem; }
    .modal-content { margin: 30% auto; }
}

/* --- NUCLEAR PERFORMANCE FIX --- */
body.video-focus-mode > *:not(.modal) {
    display: none !important;
}

body.video-focus-mode {
    background: #000 !important;
    overflow: hidden !important;
}