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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

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

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    transition: all 0.3s;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
}

.logo span {
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #888888;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    right: -400px;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    left: -300px;
    animation: float 15s infinite ease-in-out reverse;
}

/* Grid Background Effect */
.grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Roblox Logo Morphing Animation */
.roblox-logo-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
    perspective: 1000px;
}

.roblox-logo {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: logoRotate 10s infinite ease-in-out;
}

.logo-square {
    position: absolute;
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    border-radius: 20%;
    animation: morphSquare 4s infinite ease-in-out;
    box-shadow: 
        0 0 60px rgba(255, 255, 255, 0.3),
        0 0 100px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.logo-square::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: #0a0a0a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 5px;
    animation: innerSquareRotate 3s infinite linear;
}

.logo-square::after {
    content: 'R';
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: #0a0a0a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    animation: letterPulse 2s infinite ease-in-out;
}

@keyframes logoRotate {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(180deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(180deg); }
    75% { transform: rotateY(0deg) rotateX(180deg); }
}

@keyframes morphSquare {
    0%, 100% { 
        border-radius: 20%;
        transform: translate(-50%, -50%) scale(1);
    }
    25% { 
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(1.1);
    }
    50% { 
        border-radius: 10%;
        transform: translate(-50%, -50%) scale(0.95);
    }
    75% { 
        border-radius: 30%;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes innerSquareRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes letterPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

/* Glowing Particles around Logo */
.logo-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: orbitLogo 8s infinite linear;
}

.logo-particle:nth-child(2) { animation-delay: -2s; }
.logo-particle:nth-child(3) { animation-delay: -4s; }
.logo-particle:nth-child(4) { animation-delay: -6s; }

@keyframes orbitLogo {
    0% {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
        opacity: 0;
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #666666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFadeIn 1s ease-out;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 1rem;
    animation: titleFadeIn 1s ease-out 0.2s both;
}

.hero .tagline {
    font-size: 1.1rem;
    color: #888888;
    margin-bottom: 2.5rem;
    animation: titleFadeIn 1s ease-out 0.4s both;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: titleFadeIn 1s ease-out 0.6s both;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: #cccccc;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-button-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #cccccc;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '⌄';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* About Section */
.about {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 1rem auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-text p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #aaaaaa;
    margin-top: 0.5rem;
}

/* Projects Section */
.projects {
    background: rgba(255, 255, 255, 0.02);
    padding: 6rem 2rem;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-image.has-image {
    font-size: 0;
}

.project-image.has-image::after {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.project-tag-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.project-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.project-link-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.project-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.project-card:hover .project-image::before {
    transform: translateX(100%);
}

.project-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-category {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Founder Section */
.founder {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.founder-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.founder-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #888888);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: #0a0a0a;
}

.founder-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #888888;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.founder-bio {
    color: #cccccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Social Media Section */
.social-media {
    background: rgba(255, 255, 255, 0.02);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.social-media::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.social-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.social-intro p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
    pointer-events: none;
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
}

.social-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    transition: all 0.4s;
    z-index: 1;
}

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

/* TikTok Colors */
.social-card.tiktok .social-icon {
    background: linear-gradient(135deg, #00f2ea, #ff0050);
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.3);
}

.social-card.tiktok:hover {
    border-color: #ff0050;
}

/* Discord Colors */
.social-card.discord .social-icon {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.social-card.discord:hover {
    border-color: #5865F2;
}

/* WhatsApp Colors */
.social-card.whatsapp .social-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.social-card.whatsapp:hover {
    border-color: #25D366;
}

.social-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.social-handle {
    color: #888888;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: monospace;
    position: relative;
    z-index: 1;
}

.social-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.social-button {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 999;
    isolation: isolate;
}

.social-button:active {
    transform: scale(0.98);
}

/* Ensure button area is not blocked */
.social-card > * {
    pointer-events: auto;
}

.social-card .social-button {
    pointer-events: auto !important;
    touch-action: manipulation;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.social-card.tiktok .social-button:hover {
    background: linear-gradient(135deg, #00f2ea, #ff0050);
    border-color: #ff0050;
}

.social-card.discord .social-button:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.social-card.whatsapp .social-button:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.stat-label {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 0.25rem;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #666666;
}

/* Responsive */
@media (max-width: 768px) {
    .roblox-logo-container {
        width: 150px;
        height: 150px;
    }

    .logo-square {
        width: 130px;
        height: 130px;
    }

    .logo-square::after {
        font-size: 80px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .founder-content {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .roblox-logo-container {
        width: 120px;
        height: 120px;
    }

    .logo-square {
        width: 100px;
        height: 100px;
    }
}
