html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Network Canvas */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Branding Section */
.branding-section {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(255, 255, 255, 0.2),
            0 0 40px rgba(255, 255, 255, 0.1);
    }
    to {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.7),
            0 0 25px rgba(255, 255, 255, 0.5),
            0 0 35px rgba(255, 255, 255, 0.3),
            0 0 45px rgba(255, 255, 255, 0.2);
    }
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 2px;
    font-style: italic;
    margin-bottom: 30px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: scale(1.1);
}

.scroll-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* About Us Section */
.about-section {
    position: relative;
    z-index: 10;
    background: #0a0a0a;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-align: center;
}

.about-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 400;
    text-align: center;
}

/* Content Section */
.content-section {
    position: relative;
    z-index: 10;
    background: #0a0a0a;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: start;
}

.dcauthify-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dcauthify-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.dcauthify-card .dcauthify-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.dcauthify-card .site-entry-btn {
    background: linear-gradient(135deg, #1e3a8a, #2c5282);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
}

.dcauthify-card .site-entry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #2c5282, #1e3a8a);
}

.dcauthify-card .site-entry-btn:active {
    transform: translateY(-1px);
}

/* Discord Section */
.discord-section {
    position: relative;
    z-index: 10;
    background-image: url('https://findcord.com/cdn/banners/1257823510265462964/29b8225c2e7a2cb92ebc191e45d2bb4e.webp?size=4096');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    width: 500px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-banner {
    height: 150px;
    background-image: url('https://cdn.dcsv.me/banners/1436490405565829122/64d81ddac08fe97c632baf471e32f049.png?size=600');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    filter: blur(2px);
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.profile-card:hover .profile-banner {
    filter: blur(0px);
    transform: scale(1);
}

.profile-info {
    display: flex;
    align-items: center;
    padding: 25px;
    gap: 20px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #5865f2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
}

.profile-details {
    flex: 1;
}

.profile-name-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.profile-badges {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: flex-end;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nitro-badge {
    background: linear-gradient(135deg, #ff73fa, #ff00d4);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 0, 212, 0.3);
}

.dev-badge {
    background: linear-gradient(135deg, #5865f2, #3ba55d);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.profile-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kaos-tag {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.coding-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.status-item i {
    color: #5865f2;
    font-size: 1rem;
}

/* DcAuthify Section */
.dcauthify-section {
    position: relative;
    z-index: 10;
    background: #2d2d2d;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.dcauthify-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.site-entry-btn {
    background: linear-gradient(135deg, #1e3a8a, #2c5282);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-entry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #2c5282, #1e3a8a);
}

.site-entry-btn:active {
    transform: translateY(-1px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: 50px auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.close-btn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    color: #ffffff;
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

/* Discount Popup */
.discount-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    animation: popupFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    min-width: 400px;
    max-width: 500px;
    animation: popupSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.discount-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shimmer 3s infinite;
}

.discount-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

.discount-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.discount-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.discount-close-btn {
    background: linear-gradient(135deg, #4a4a4a, #2d2d2d);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.discount-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.5s;
}

.discount-close-btn:hover {
    background: linear-gradient(135deg, #5a5a5a, #3d3d3d);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.discount-close-btn:hover::before {
    left: 100%;
}

.discount-close-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(3rem, 12vw, 6rem);
    }
    
    .profile-card {
        width: 90%;
        max-width: 400px;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-name-section {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .profile-badges {
        align-items: center;
        flex-direction: row;
    }
    
    .dcauthify-title {
        font-size: 2.5rem;
    }
    
    .modal-content {
        width: 95%;
        height: 90vh;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 15px;
    }
    
    .discord-section,
    .dcauthify-section {
        padding: 40px 15px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .site-entry-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}
