:root {
    --bg-color: #070314;
    --text-primary: #ffffff;
    --text-secondary: #a395b5;
    --primary-purple: #7026e8;
    --light-purple: #a66cf5;
    --dark-purple: #2a0b5a;
    --card-bg: rgba(20, 10, 40, 0.4);
    --card-border: rgba(112, 38, 232, 0.4);
    --status-online: #23a559;
    --status-idle: #f0b232;
    --status-dnd: #f23f43;
    --status-offline: #80848e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body.intro-active { overflow: hidden; height: 100vh; }

h1, h2, h3 { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }

/* Intro Screen */
#intro-screen {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background-color: var(--bg-color); z-index: 100;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

#intro-screen.fade-out { opacity: 0; visibility: hidden; }

.glitch-text {
    font-size: 4rem; font-weight: 800; letter-spacing: 2px;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--primary-purple);
    animation: floatText 3s ease-in-out infinite;
}

.subtitle {
    font-size: 1.2rem; color: var(--primary-purple); margin-top: 10px;
    letter-spacing: 4px; opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

/* Main Screen Transition */
#main-screen {
    position: relative; width: 100vw; min-height: 100vh;
    opacity: 0; transition: opacity 2s ease-in-out;
}
#main-screen.visible { opacity: 1; }
.hidden { display: none !important; }

/* Backgrounds */
.background-effects {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1; pointer-events: none;
}
.blob {
    position: absolute; width: 50vw; height: 50vw; border-radius: 50%;
    filter: blur(100px); opacity: 0.5; animation: moveBlobs 20s infinite alternate;
}
.blob.purple { top: -10%; left: -10%; background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%); }
.blob.deep-purple { bottom: -10%; right: -10%; background: radial-gradient(circle, var(--dark-purple) 0%, transparent 70%); animation-delay: -10s; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 20px 10%; display: flex; justify-content: space-between; align-items: center;
    z-index: 50;
    background: rgba(7, 3, 20, 0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(112, 38, 232, 0.3);
}
.logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.logo span { color: var(--light-purple); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { 
    font-weight: 500; font-size: 0.95rem; color: var(--text-secondary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); text-shadow: 0 0 10px var(--primary-purple); }

/* Containers */
.content-container { padding: 100px 10% 50px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
section { width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; padding-top: 60px; scroll-margin-top: 80px; }

.section-title { 
    font-size: 2.5rem; margin-bottom: 50px; text-transform: uppercase; letter-spacing: 2px;
    background: linear-gradient(135deg, #fff, var(--light-purple));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(112, 38, 232, 0.2);
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Modern Square Aesthetic */
.modern-square {
    background: var(--card-bg); 
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(112, 38, 232, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 100px);
    display: flex; flex-direction: row; justify-content: space-between; align-items: center;
    gap: 50px; flex-wrap: wrap; margin-top: 20px;
}
.hero-content { flex: 1; min-width: 300px; }
.main-title { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.6; max-width: 500px; }
.btn-primary {
    display: inline-block; padding: 15px 35px; border-radius: 12px; 
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    color: #fff; font-weight: 600; font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 20px rgba(112, 38, 232, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(112, 38, 232, 0.5); }

/* --- RECTANGULAR DISCORD CARD --- */
.discord-card {
    width: 650px;
    max-width: 100%;
    padding: 0; /* padding reset for edge-to-edge banner */
    transition: transform 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.discord-card:hover { border-color: var(--light-purple); transform: translateY(-3px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(112, 38, 232, 0.2); }

.dc-banner {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dc-content {
    display: flex;
    flex-wrap: wrap; /* Wraps on mobile */
    padding: 20px 30px 30px;
    gap: 30px;
}

.dc-profile-main {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -70px; /* Pulls avatar into the banner */
}

/* Square/Slightly rounded modern avatar */
.avatar-container { 
    position: relative; width: 120px; height: 120px; 
    background: var(--bg-color); /* mask banner */
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.avatar-container img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 8px; 
    border: 2px solid var(--dark-purple);
    transition: transform 0.3s ease;
}
.avatar-container:hover img { transform: scale(1.03); }

.status-indicator {
    position: absolute; bottom: -2px; right: -2px; width: 28px; height: 28px;
    border-radius: 50%; 
    border: 5px solid var(--bg-color);
    background-color: var(--status-offline); transition: background-color 0.3s ease;
    display: flex; justify-content: center; align-items: center;
}
.status-indicator.online { background-color: var(--status-online); }
.status-indicator.idle { background-color: var(--status-idle); }
.status-indicator.dnd { background-color: var(--status-dnd); }
.status-indicator.dnd::after { content: ''; width: 12px; height: 4px; background: var(--bg-color); border-radius: 2px; }

.dc-user-info { text-align: left; width: 100%; }
.global-name { font-size: 1.6rem; color: var(--text-primary); margin-bottom: 3px; font-weight: 800; }
.username { font-size: 1rem; color: var(--text-secondary); margin-bottom: 15px; }

.custom-status {
    background: rgba(0,0,0,0.4); padding: 12px 15px; border-radius: 12px;
    font-size: 0.95rem; margin-bottom: 20px; color: #e0dced; border-left: 3px solid var(--primary-purple);
    width: 100%;
}

.dc-activities-section {
    flex: 1.5;
    min-width: 250px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.activities-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.activities { display: flex; flex-direction: column; gap: 12px; }
.activity-item {
    display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.3);
    padding: 12px; border-radius: 12px; border: 1px solid rgba(112, 38, 232, 0.2);
    transition: background 0.3s;
}
.activity-item:hover { background: rgba(112, 38, 232, 0.1); }
.activity-icon { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.activity-details { text-align: left; display: flex; flex-direction: column; overflow: hidden; width: 100%; }
.activity-name { font-weight: 700; font-size: 1.05rem; color: #fff; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-bottom: 2px;}
.activity-state, .activity-details-text { font-size: 0.85rem; color: #ccc; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

/* ------------------------------------ */

/* Projects Section */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; width: 100%; justify-content: center; }
.project-card { 
    padding: 0; overflow: hidden; display: flex; flex-direction: column; 
    transition: transform 0.4s ease, border-color 0.4s ease;
    border-radius: 16px;
}
.project-card:hover { transform: translateY(-5px); border-color: var(--light-purple); }
.project-image { position: relative; height: 220px; width: 100%; background-size: cover; background-position: center; border-radius: 16px 16px 0 0; }
.project-info { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.project-info h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-primary); font-weight: 800; }
.project-info p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin-bottom: 25px; flex: 1; }
.project-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.project-tags span { font-size: 0.8rem; background: rgba(112, 38, 232, 0.15); border: 1px solid var(--primary-purple); padding: 6px 12px; border-radius: 8px; color: var(--light-purple); font-weight: 600; }

/* Contact Section */
.contact-card { text-align: center; padding: 50px; max-width: 600px; width: 100%; }
.contact-card p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.6; }
.social-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.social-icon { 
    display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 25px; min-width: 140px;
    background: rgba(112, 38, 232, 0.1); border: 1px solid rgba(112, 38, 232, 0.3);
    border-radius: 12px; transition: all 0.3s ease; color: var(--text-primary); font-weight: 600;
}
.social-icon:hover { background: var(--primary-purple); transform: translateY(-3px); border-color: var(--light-purple); }

footer { text-align: center; padding: 30px; color: rgba(255,255,255,0.3); font-size: 0.9rem; width: 100%; border-top: 1px solid rgba(255,255,255,0.05); }

/* Media Queries */
@media (max-width: 768px) {
    .hero-section { flex-direction: column; text-align: center; margin-top: 50px; }
    .main-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 30px; }
    .nav-links { display: none; }
    .content-container { padding: 100px 5% 50px; }
    .projects-grid { grid-template-columns: 1fr; }
    .dc-profile-main { align-items: center; text-align: center; margin-top: -60px; }
    .dc-user-info { text-align: center; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatText {
    0%, 100% { transform: translateY(0); text-shadow: 0 0 20px var(--primary-purple); }
    50% { transform: translateY(-10px); text-shadow: 0 0 40px var(--light-purple), 0 0 10px var(--primary-purple); }
}
@keyframes moveBlobs { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 5%) scale(1.1); } }

/* Subpage Specific additions */
.page-content { padding-top: 150px; align-items: center; text-align: center; }
.category-header { margin-bottom: 20px; }
.category-overlay {
    width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;
    font-size: 4rem; color: rgba(255,255,255,0.2); transition: color 0.3s ease, transform 0.3s ease;
}
.project-card:hover .category-overlay { color: rgba(255,255,255,0.5); transform: scale(1.1); }

/* Bots.html PRICING SECTION */
.pricing-header { text-align: center; margin-bottom: 50px; max-width: 800px; display: flex; flex-direction: column; align-items: center; }
.sub-heading { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 15px; font-weight: 500;}
.pricing-header .main-title { font-size: 3rem; margin-bottom: 20px; text-transform: none; background: none; -webkit-text-fill-color: #fff; text-shadow: none; font-weight: 800;}
.pricing-header .hero-subtitle { font-size: 1.1rem; line-height: 1.6; max-width: 600px;}
.pricing-toggle { margin-top: 35px; display: inline-flex; align-items: center; gap: 15px; }
.toggle-bg { background: rgba(255,255,255,0.05); border-radius: 30px; padding: 6px; display: flex; }
.toggle-btn { background: transparent; border: none; color: var(--text-secondary); padding: 8px 25px; border-radius: 20px; cursor: pointer; font-size: 0.95rem; font-weight: 600; transition: all 0.3s; }
.toggle-btn.active { background: rgba(255,255,255,0.1); color: #fff; }
.badge { background: rgba(112, 38, 232, 0.1); color: #e0dced; padding: 5px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; border: 1px solid var(--primary-purple); display: flex; align-items: center; }
.pricing-cards-section { width: 100%; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; width: 100%; }
.pricing-card { padding: 30px; display: flex; flex-direction: column; text-align: left; background: #0d0d0d; border: 1px solid rgba(255,255,255,0.08); }
.pricing-card.highlight { border-color: #5d5fef; box-shadow: 0 0 30px rgba(93, 95, 239, 0.15); }
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 12px; color: #fff; font-weight: 700;}
.pricing-card .desc { color: #888; font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; min-height: 60px; }
.price { margin-bottom: 25px; display: flex; align-items: baseline; gap: 5px; }
.price .currency { font-size: 2.5rem; font-weight: 800; color: #fff; font-family: 'Inter', sans-serif;}
.price .period { font-size: 0.95rem; color: #888; font-weight: 500;}
.btn-buy { background: #fff; color: #000; border: none; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; margin-bottom: 30px; transition: background 0.3s, transform 0.2s; font-family: 'Inter', sans-serif; }
.btn-buy:hover { background: #e0e0e0; transform: translateY(-2px);}
.features-list { list-style: none; padding: 0; margin: 0; }
.features-list li { font-size: 0.9rem; color: #ccc; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.text-green { color: #2ecc71; font-size: 0.85rem;}
.comparison-section { width: 100%; margin-top: 80px; }
.section-title.left-align { text-align: left; width: 100%; font-size: 1.4rem; margin-bottom: 30px; text-transform: none; background: none; -webkit-text-fill-color: #fff; text-shadow: none; font-weight: 600; letter-spacing: 0; }
.table-container { width: 100%; overflow-x: auto; }
.feature-table { width: 100%; border-collapse: collapse; text-align: left; }
.feature-table th { padding: 20px 0; color: #fff; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.feature-table td { padding: 20px 0; color: #aaa; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.feature-table td:not(:first-child), .feature-table th:not(:first-child) { text-align: center; }
.text-dash { color: #555; font-weight: bold;}
