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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 69, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8b45ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(139, 69, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 157, 0.2) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(139, 69, 255, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 107, 157, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(139, 69, 255, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 107, 157, 0.4), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(10px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 69, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 69, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(139, 69, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(139, 69, 255, 0.1);
    border-color: #8b45ff;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #8b45ff;
    border: 2px solid #8b45ff;
}

.btn-outline:hover {
    background: #8b45ff;
    color: white;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.1));
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.floating-card i {
    font-size: 6rem;
    color: #8b45ff;
    animation: pulse 2s ease-in-out infinite;
}

.hero-logo {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    animation: pulse 2s ease-in-out infinite;
}

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



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    padding: 100px 0;
}

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

.product-card {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.05));
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.3);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

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

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.product-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.product-btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d, #00d4ff);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 69, 255, 0.3);
    animation: gradient-shift 3s ease-in-out infinite;
}

.product-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;
}

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

.product-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 69, 255, 0.5);
    background-position: right center;
}

.product-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Open Source Section */
.opensource {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.05));
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Product Category Styles for Config-based Products */
.product-category {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.05));
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.2);
}

.product-category .product-image {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

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

.product-category:hover .product-image img {
    transform: scale(1.05);
}

.product-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.product-category p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.feature-tag {
    background: rgba(139, 69, 255, 0.2);
    color: #8b45ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8b45ff;
    margin-bottom: 10px;
}

.product-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.product-status.available {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.product-status.unavailable {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.2);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.project-image {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.2);
    transition: all 0.3s ease;
}

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

.project-card:hover .project-image {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 69, 255, 0.4);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.project-status {
    padding: 4px 12px;
    background: rgba(139, 69, 255, 0.2);
    color: #8b45ff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-description {
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #888;
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.project-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}



/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(139, 69, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #8b45ff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8b45ff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: #8b45ff;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 69, 255, 0.1);
    color: #888;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(139, 69, 255, 0.2);
        padding: 20px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .products-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .server-card {
        padding: 25px;
    }

    .server-actions {
        flex-direction: column;
    }

    .server-connect {
        min-width: auto;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .product-category,
    .project-card {
        padding: 25px;
    }
    
    .product-image,
    .project-image {
        width: 80px;
        height: 80px;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-image {
        width: 100%;
        height: 200px;
        align-self: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .product-category,
    .project-card {
        padding: 20px;
    }
    
    .product-image,
    .project-image {
        width: 70px;
        height: 70px;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-actions .btn {
        width: 100%;
    }

    .gameservers {
        padding: 60px 0;
    }

    .servers-grid {
        gap: 20px;
    }

    .server-card {
        padding: 20px;
    }

    .server-header {
        margin-bottom: 20px;
    }

    .server-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .server-name {
        font-size: 1.3rem;
    }

    .server-info-banner {
        padding: 20px;
    }

    .banner-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .banner-text h4 {
        font-size: 1.1rem;
    }

    .modal-content {
        width: 98%;
        margin: 1% auto;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 0 20px 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .feature-tag,
    .tech-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .close {
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .product-image,
    .project-image {
        width: 60px;
        height: 60px;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .image-modal-close {
         top: -30px;
         right: -30px;
         width: 40px;
         height: 40px;
         font-size: 30px;
     }
 }

/* Additional responsive improvements */
@media (max-width: 1024px) {
    .product-features {
        gap: 6px;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .project-stats {
        gap: 15px;
    }
    
    .stat {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .product-features {
        justify-content: center;
        gap: 5px;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-status {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .project-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .project-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .stat {
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
        text-align: center;
    }
    
    .project-actions {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .product-category {
        padding: 20px 15px;
    }
    
    .product-category .product-image {
        height: 150px;
        margin-bottom: 15px;
    }
    
    .product-category h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .product-category p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .product-features {
        gap: 4px;
        margin-bottom: 15px;
    }
    
    .feature-tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .product-price {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .product-status {
        font-size: 0.75rem;
        padding: 3px 10px;
        margin-bottom: 15px;
    }
    
    .project-card {
        padding: 20px 15px;
    }
    
    .project-image {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .project-card p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .project-stats {
        gap: 8px;
    }
    
    .stat {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .stat i {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .product-category .product-image {
        height: 120px;
    }
    
    .product-category h3 {
        font-size: 1.1rem;
    }
    
    .product-category p {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.6rem;
        padding: 1px 5px;
    }
    
    .project-image {
        width: 70px;
        height: 70px;
        margin-right: 12px;
    }
    
    .project-card h3 {
        font-size: 1.1rem;
    }
    
    .project-card p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .stat {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 10, 46, 0.95));
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(139, 69, 255, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #8b45ff;
}

/* Modal Header with Image */
.modal-header {
    display: flex;
    gap: 20px;
    padding: 30px;
    border-bottom: 1px solid rgba(139, 69, 255, 0.2);
}

.modal-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-price {
    color: #ff6b9d;
    font-size: 1.2rem;
    font-weight: bold;
}

.modal-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    width: fit-content;
}

.modal-status.status-available {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.modal-status.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.modal-status.status-completed {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid #3498db;
}

.modal-status.status-development {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid #f1c40f;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    color: #8b45ff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section p {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-item {
    display: inline-block;
}

.feature-tag {
    background: rgba(139, 69, 255, 0.2);
    color: #8b45ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 69, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 69, 255, 0.3);
    transform: translateY(-2px);
}

/* Tech Tags */
.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-tag {
    background: rgba(255, 107, 157, 0.2);
    color: #ff6b9d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: translateY(-2px);
}

/* Modal Gallery */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

/* Modal responsive improvements */
@media (max-width: 1024px) {
    .modal-content {
        width: 85%;
        max-width: 700px;
        margin: 5% auto;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .modal-links {
        gap: 12px;
    }
    
    .modal-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: none;
        margin: 3% auto;
        padding: 25px 20px;
    }
    
    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .modal-info h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .modal-price {
        font-size: 1.1rem;
    }
    
    .modal-status {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .modal-features {
        gap: 8px;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .modal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .modal-header {
        gap: 12px;
    }
    
    .modal-image {
        width: 80px;
        height: 80px;
    }
    
    .modal-info h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .modal-price {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .modal-status {
        font-size: 0.75rem;
        padding: 3px 10px;
        margin-bottom: 15px;
    }
    
    .modal-body p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
        margin-top: 12px;
    }
    
    .gallery-item::after {
        font-size: 1.5rem;
    }
    
    .modal-features {
        gap: 6px;
        margin-bottom: 15px;
    }
    
    .feature-item {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .modal-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .modal-content {
        width: 98%;
        margin: 1% auto;
        padding: 15px 12px;
    }
    
    .modal-image {
        width: 70px;
        height: 70px;
    }
    
    .modal-info h2 {
        font-size: 1.1rem;
    }
    
    .modal-price {
        font-size: 0.9rem;
    }
    
    .modal-body p {
        font-size: 0.8rem;
    }
    
    .modal-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 6px;
    }
    
    .feature-item {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .tech-tag {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .modal-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    opacity: 1;
}

.modal-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.modal-link::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;
}

.modal-link:hover::before {
    left: 100%;
}

.modal-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.4);
}

.modal-link.primary {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d, #00d4ff);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 69, 255, 0.3);
}

.modal-link.primary:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 35px rgba(139, 69, 255, 0.5);
}

.modal-link.secondary {
    background: transparent;
    border: 2px solid rgba(139, 69, 255, 0.5);
    color: #8b45ff;
}

.modal-link.secondary:hover {
    background: rgba(139, 69, 255, 0.1);
    border-color: #8b45ff;
    transform: translateY(-2px) scale(1.02);
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9d5aff, #ff7ba8);
}

/* Game Servers Section */
.gameservers {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.05), rgba(255, 107, 157, 0.05));
    position: relative;
}

.gameservers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.server-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b45ff, #ff6b9d);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.server-card:hover::before {
    transform: scaleX(1);
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 69, 255, 0.3);
    border-color: rgba(139, 69, 255, 0.3);
}

.pvp-server:hover {
    box-shadow: 0 20px 40px rgba(255, 69, 69, 0.3);
}

.rp-server:hover {
    box-shadow: 0 20px 40px rgba(69, 255, 157, 0.3);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.server-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
}

.pvp-server .server-icon {
    background: linear-gradient(135deg, #ff4545, #ff6b6b);
}

.rp-server .server-icon {
    background: linear-gradient(135deg, #45ff9d, #6bffa3);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.server-status.online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

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

.server-info {
    margin-bottom: 25px;
}

.server-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-platform,
.server-type {
    color: #b0b0b0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.server-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-status.online {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.server-status.offline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.server-stats {
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: 0.9rem;
}

.stat-item i {
    color: #8b45ff;
    width: 16px;
}

.stat-item strong {
    color: #fff;
}

.server-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.server-connect {
    flex: 1;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.server-connect::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;
}

.server-connect:hover::before {
    left: 100%;
}

.server-info-banner {
    background: rgba(139, 69, 255, 0.1);
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.banner-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.banner-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.banner-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #8b45ff;
}

.banner-text p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Contact Developer Section */
.contact-dev {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.05), rgba(255, 107, 157, 0.05));
    position: relative;
    overflow: hidden;
}

.contact-dev::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(139, 69, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-dev-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-options {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.05));
    border: 1px solid rgba(139, 69, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 255, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s ease;
}

.discord-card .contact-icon {
    background: linear-gradient(135deg, #5865f2, #7289da);
}

.telegram-card .contact-icon {
    background: linear-gradient(135deg, #0088cc, #229ed9);
}

.support-card .contact-icon {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
}

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

.contact-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-username {
    color: #8b45ff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.live-status, .response-time, .availability {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.live-status span {
    color: #00ff88;
    font-weight: 600;
}

.contact-btn {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 255, 0.4);
    background: linear-gradient(135deg, #9d52ff, #ff7ba8);
}

.contact-info p {
    color: #8b45ff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.contact-info span {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.discord-profile-card {
    background: linear-gradient(135deg, #36393f, #2f3136);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    width: 320px;
    margin: 0 auto;
    border: 1px solid rgba(139, 69, 255, 0.2);
    direction: ltr;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.discord-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.05), rgba(255, 107, 157, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.discord-profile-card:hover::before {
    opacity: 1;
}

.discord-profile-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 255, 0.3);
    border-color: rgba(139, 69, 255, 0.4);
}

.discord-header {
    position: relative;
    height: 80px;
}

.discord-banner {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 50%, #ff73fa 100%);
    position: relative;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, #5865f2 0%, #7289da 50%, #ff73fa 100%); }
    33% { background: linear-gradient(135deg, #ff73fa 0%, #5865f2 50%, #7289da 100%); }
    66% { background: linear-gradient(135deg, #7289da 0%, #ff73fa 50%, #5865f2 100%); }
}

.discord-avatar-container {
    position: absolute;
    bottom: -30px;
    left: 16px;
}

.discord-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #2f3136;
    overflow: visible;
    transition: transform 0.2s ease;
}

.discord-avatar:hover {
    transform: scale(1.05);
}

.discord-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.discord-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #2f3136;
    background: #23a55a;
    animation: pulse 2s infinite;
    z-index: 10;
}

.discord-body {
    padding: 40px 20px 20px;
    color: #dcddde;
    direction: ltr;
    text-align: left;
    position: relative;
    z-index: 1;
}

.discord-user-info {
    margin-bottom: 16px;
}

.discord-username {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    text-align: left;
}

.discord-discriminator {
    font-size: 14px;
    color: #b9bbbe;
    margin: 0 0 8px 0;
    direction: ltr;
    text-align: left;
}



.discord-custom-status {
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.15), rgba(255, 107, 157, 0.1));
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(139, 69, 255, 0.3);
    color: #ffffff;
    direction: ltr;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-weight: 500;
}

.discord-custom-status:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    transform: translateY(-1px);
}

.discord-activity-item {
    margin-bottom: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.1), rgba(255, 107, 157, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(139, 69, 255, 0.2);
    direction: ltr;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.discord-activity-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
}

.discord-activity-item.spotify {
    border-color: #1db954;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.12), rgba(29, 185, 84, 0.06));
    box-shadow: 0 0 6px rgba(29, 185, 84, 0.15);
}

.discord-activity-item.spotify:hover {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.2), rgba(29, 185, 84, 0.12));
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.3);
}

.activity-header {
    margin-bottom: 3px;
}

.activity-type {
    font-size: 8px;
    font-weight: 700;
    color: #b9bbbe;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
    text-transform: uppercase;
    direction: ltr;
    text-align: left;
}

.activity-content {
    color: #dcddde;
}

.activity-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #ffffff;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    font-size: 10px;
    color: #b9bbbe;
    margin-bottom: 0;
    direction: ltr;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-state {
    font-size: 12px;
    color: #b9bbbe;
    direction: ltr;
    text-align: left;
}

.custom-emoji {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 2px;
}

.discord-status-section {
    margin-bottom: 16px;
    direction: ltr;
    text-align: left;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.08), rgba(255, 107, 157, 0.04));
    border-radius: 8px;
    border: 1px solid rgba(139, 69, 255, 0.15);
}

.discord-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    direction: ltr;
    text-align: left;
    font-size: 11px;
    color: #dcddde;
    font-weight: 500;
    padding: 3px 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    width: fit-content;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #23a55a;
    animation: pulse 2s infinite;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(35, 165, 90, 0.4);
}

.discord-activity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    direction: ltr;
    text-align: left;
}

.discord-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 69, 255, 0.2);
}

.discord-btn {
    flex: 1;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.discord-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;
}

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

.discord-message-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.discord-message-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3c4399);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.discord-profile-btn {
    background: linear-gradient(135deg, #4f545c, #42464d);
    color: #dcddde;
    box-shadow: 0 2px 8px rgba(79, 84, 92, 0.3);
}

.discord-profile-btn:hover {
    background: linear-gradient(135deg, #5d6269, #4f545c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 84, 92, 0.4);
}

.status-offline .discord-status-indicator,
.status-offline .status-dot {
    background: #747f8d !important;
    animation: none;
}

.status-idle .discord-status-indicator,
.status-idle .status-dot {
    background: #faa61a;
}

.status-dnd .discord-status-indicator,
.status-dnd .status-dot {
    background: #ed4245;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(35, 165, 90, 0.7), 0 0 8px rgba(35, 165, 90, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(35, 165, 90, 0), 0 0 12px rgba(35, 165, 90, 0.6);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(35, 165, 90, 0), 0 0 8px rgba(35, 165, 90, 0.4);
    }
}

@media (max-width: 768px) {
    .discord-profile-card {
        max-width: 100%;
        margin: 0;
    }
    
    .discord-actions {
        flex-direction: column;
    }
    
    .discord-btn {
        width: 100%;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-image {
        width: 100%;
        height: 200px;
    }
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.8), rgba(255, 107, 157, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Fullscreen Image Modal */
.image-modal {
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(139, 69, 255, 0.3);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close:hover {
    color: #8b45ff;
    background: rgba(139, 69, 255, 0.2);
}

/* Image modal responsive improvements */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 85%;
        padding: 10px;
    }
    
    .image-modal-close {
        top: -30px;
        right: -30px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .image-modal-content {
        max-width: 98%;
        max-height: 80%;
        padding: 5px;
    }
    
    .image-modal-close {
        top: -25px;
        right: -25px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}

@media (max-width: 360px) {
    .image-modal-content {
        max-width: 100%;
        max-height: 75%;
    }
    
    .image-modal-close {
        top: -20px;
        right: -20px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

.contact-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-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;
}

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

.btn-discord {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
}

.btn-discord:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    color: white;
}

.btn-telegram:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.btn-support {
    background: linear-gradient(135deg, #8b45ff, #ff6b9d);
    color: white;
}

.btn-support:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 69, 255, 0.4);
}

/* Responsive Design for Contact Developer Section */
@media (max-width: 1024px) {
    .contact-dev-content {
        gap: 40px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .discord-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-dev-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .dev-profile {
        position: static;
        text-align: center;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .contact-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .dev-stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .dev-stats .stat {
        min-width: auto;
        text-align: center;
    }
    
    .discord-card {
        padding: 15px;
    }
    
    .discord-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .discord-avatar {
        margin: 0 auto;
    }
    
    .discord-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .discord-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-dev {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-avatar {
        width: 70px;
        height: 70px;
    }
    
    .contact-username {
        font-size: 1.1rem;
    }
    
    .contact-role {
        font-size: 0.85rem;
    }
    
    .discord-card {
        padding: 12px;
    }
    
    .discord-avatar-img {
        width: 50px;
        height: 50px;
    }
    
    .discord-username {
        font-size: 0.9rem;
    }
    
    .discord-discriminator {
        font-size: 0.8rem;
    }
    
    .discord-activity-item {
        padding: 8px 12px;
    }
    
    .activity-name {
        font-size: 11px;
    }
    
    .activity-details {
        font-size: 9px;
    }
    
    .discord-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .contact-avatar {
        width: 60px;
        height: 60px;
    }
    
    .contact-username {
        font-size: 1rem;
    }
    
    .discord-avatar-img {
        width: 45px;
        height: 45px;
    }
    
    .discord-card {
        padding: 10px;
    }
}

/* Game Servers Responsive Design */
@media (max-width: 1024px) {
    .servers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .server-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .gameservers {
        padding: 60px 0;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .server-card {
        padding: 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .server-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .server-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .server-name {
        font-size: 1.3rem;
    }
    
    .server-info {
        margin-bottom: 20px;
    }
    
    .server-stats {
        margin-top: 15px;
        margin-bottom: 20px;
    }
    
    .server-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .server-connect {
        min-width: auto;
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .banner-icon {
        margin: 0 auto;
    }
    
    .server-info-banner {
        padding: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .gameservers {
        padding: 40px 0;
    }
    
    .servers-grid {
        padding: 0 10px;
        gap: 15px;
    }
    
    .server-card {
        padding: 15px;
        margin: 0;
        border-radius: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .server-header {
        margin-bottom: 15px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .server-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        border-radius: 12px;
    }
    
    .server-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .server-platform,
    .server-type {
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .server-status {
        padding: 4px 8px;
        font-size: 0.75rem;
        border-radius: 10px;
        margin-top: 8px;
    }
    
    .server-info {
        margin-bottom: 15px;
    }
    
    .server-stats {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .stat-item {
        font-size: 0.85rem;
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .server-actions {
        gap: 8px;
        margin-top: 15px;
    }
    
    .server-connect {
        padding: 12px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
        width: 100%;
        text-align: center;
    }
    
    .server-info-banner {
        padding: 15px;
        margin-top: 15px;
        border-radius: 12px;
    }
    
    .banner-content {
        gap: 12px;
    }
    
    .banner-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .banner-text h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .banner-text p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .gameservers {
        padding: 30px 0;
    }
    
    .servers-grid {
        padding: 0 5px;
        gap: 12px;
    }
    
    .server-card {
        padding: 12px;
        margin: 0;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .server-header {
        margin-bottom: 12px;
        gap: 8px;
    }
    
    .server-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .server-name {
        font-size: 1.1rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .server-platform,
    .server-type {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .server-status {
        padding: 3px 6px;
        font-size: 0.7rem;
        margin-top: 6px;
    }
    
    .server-info {
        margin-bottom: 12px;
    }
    
    .server-stats {
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .stat-item {
        font-size: 0.8rem;
        margin-bottom: 8px;
        gap: 6px;
    }
    
    .server-actions {
        margin-top: 12px;
        gap: 6px;
    }
    
    .server-connect {
        padding: 10px 14px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .server-info-banner {
        padding: 12px;
        margin-top: 12px;
        border-radius: 10px;
    }
    
    .banner-content {
        gap: 10px;
    }
    
    .banner-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .banner-text h4 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .banner-text p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}