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

:root {
    --primary-purple: #8B5CF6;
    --primary-purple-dark: #6D28D9;
    --primary-purple-light: #A78BFA;
    --gradient-start: #6D28D9;
    --gradient-end: #A855F7;
    --gradient-end-2: #EC4899;
    --bg-dark: #0A0A0F;
    --bg-dark-secondary: #12121A;
    --bg-card: #1A1A24;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B4C7;
    --text-muted: #6B6B7F;
    --border-color: #2A2A3A;
    --shadow-purple: rgba(139, 92, 246, 0.3);
    --shadow-purple-strong: rgba(139, 92, 246, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-light));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Discord Button */
.discord-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px var(--shadow-purple);
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--shadow-purple-strong);
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple));
}

.discord-btn svg {
    width: 24px;
    height: 24px;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 0;
    display: none;
}

.section.active {
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title .delay-1 {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.animate-text {
    opacity: 0;
}

.animate-text.delay-1 {
    animation-delay: 0.2s;
}

.animate-text.delay-2 {
    animation-delay: 0.4s;
}

.animate-text.delay-3 {
    animation-delay: 0.6s;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-purple), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gradient-end), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gradient-end-2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

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

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--shadow-purple-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--shadow-purple);
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--bg-dark-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--text-secondary);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--shadow-purple);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-purple-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 3px solid var(--primary-purple);
    overflow: hidden;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.pricing-card.featured {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.pricing-body {
    color: var(--text-secondary);
}

.pricing-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple-light);
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-top: 1rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 {
    transition-delay: 0.1s;
}

.fade-in.delay-2 {
    transition-delay: 0.2s;
}

.fade-in.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .services-grid,
    .portfolio-grid,
    .team-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .discord-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .discord-btn span {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   STORE SECTION (ADDED)
========================================= */

.tebex-store {
    width: 100%;
    height: 900px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.tebex-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.store-btn-wrapper {
    margin-top: 30px;
    text-align: center;
}

.store-note {
    margin-top: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   TOS MODAL (ADDED)
========================================= */

.tos-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px 16px;
}

.tos-modal.show {
    display: block;
}

.tos-content {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 40px var(--shadow-purple);
    max-height: calc(100vh - 60px);
    overflow: auto;
    position: relative;
}

.tos-close {
    position: sticky;
    top: 0;
    float: right;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(18, 18, 26, 0.7);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.tos-close:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px var(--shadow-purple);
}

.tos-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.tos-content h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.tos-text {
    margin-top: 18px;
    color: var(--text-secondary);
}

.tos-text h2 {
    color: var(--primary-purple-light);
    margin-top: 22px;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.tos-text p {
    margin: 10px 0;
}

.tos-text ul {
    margin: 10px 0 10px 20px;
}

.tos-text li {
    margin: 6px 0;
}

/* =========================================
   PARTNERS PAGE
========================================= */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 40px var(--shadow-purple);
}

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.partner-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.partner-desc {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.partner-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    text-decoration: none;
    color: white;
    font-weight: 600;
}

/* =========================================
   PARTNER MODAL
========================================= */

.partner-modal{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,0.85);
backdrop-filter:blur(10px);
z-index:3000;
padding:30px;
}

.partner-modal.show{
display:block;
}

.partner-modal-content{
    max-width: 700px;
    margin: 80px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow-purple);

    max-height: 80vh;   /* maximale hoogte */
    overflow-y: auto;   /* scroll wanneer tekst te lang is */
}

.partner-close{
position:absolute;
top:20px;
right:30px;
background:none;
border:none;
font-size:30px;
color:white;
cursor:pointer;
}

.partner-modal-content h2{
margin-bottom:10px;
}

.partner-modal-content p{
white-space: pre-line;
line-height: 1.7;
}
.partner-modal-content::-webkit-scrollbar{
    width: 8px;
}

.partner-modal-content::-webkit-scrollbar-thumb{
    background: var(--primary-purple);
    border-radius: 10px;
}

.partner-modal-content::-webkit-scrollbar-track{
    background: transparent;
}
.partner-scroll{
max-height: 420px;
overflow-y: auto;
margin: 20px 0;
padding-right: 10px;
}

.partner-scroll::-webkit-scrollbar{
width:6px;
}

.partner-scroll::-webkit-scrollbar-thumb{
background: var(--primary-purple);
border-radius:10px;
}

.partner-scroll::-webkit-scrollbar-track{
background:transparent;
}