/* Global Styles */
:root {
    --primary-color: #6d28d9;
    --secondary-color: #4c1d95;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --accent-color: #7c3aed;
    --cookie-color: #f59e0b;
    --cookie-dark: #b45309;
    --lockie-color: #3b82f6;
    --lockie-dark: #1d4ed8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-y: scroll;
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)),
                url('https://source.unsplash.com/random/1920x1080/?gaming') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border: none;
    padding: 0 3rem;
    height: 3.5rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-outline-light {
    border: 2px solid;
    padding: 0 2rem;
    height: 2.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        height: auto !important;
        padding: 1rem !important;
        font-size: 1.1rem;
        border-radius: 0.75rem;
    }

    .btn-primary {
        background: rgb(99, 102, 241);
        border: none;
    }

    .btn-primary:hover {
        background: rgb(79, 82, 221);
        box-shadow: none;
    }

    .btn-outline-light {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* App Cards */
.app-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cookie-theme .app-icon {
    color: var(--cookie-color);
}

.lockie-theme .app-icon {
    color: var(--lockie-color);
}

.app-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.app-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.app-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.app-features li i {
    margin-right: 0.8rem;
    color: #10b981;
}

.coming-soon {
    margin: 1.5rem 0;
    text-align: center;
}

.coming-soon .badge {
    background: linear-gradient(to right, var(--cookie-color), var(--cookie-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.coming-soon p {
    color: #94a3b8;
    margin: 0;
}

.coming-soon-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(245, 158, 11, 0.05));
    border: 1px dashed var(--cookie-color);
}

.coming-soon-card i {
    background: linear-gradient(to right, var(--cookie-color), var(--cookie-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-card .btn {
    margin-top: auto;
}

.cookie-theme {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(245, 158, 11, 0.1));
    border-color: var(--cookie-color);
}

.cookie-theme:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.lockie-theme {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(59, 130, 246, 0.1));
    border-color: var(--lockie-color);
}

.lockie-theme:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Feature Groups */
.feature-group {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
}

.cookie-features {
    border: 1px solid var(--cookie-color);
}

.lockie-features {
    border: 1px solid var(--lockie-color);
}

.feature-group h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookie-features h3 {
    color: var(--cookie-color);
}

.lockie-features h3 {
    color: var(--lockie-color);
}

/* Service Cards in Feature Groups */
.service-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.8rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cookie-features .service-card i {
    color: var(--cookie-color);
}

.lockie-features .service-card i {
    color: var(--lockie-color);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-option {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    height: 100%;
    justify-content: space-between;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-option h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-option p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.contact-option i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-option .btn {
    width: auto;
    min-width: 150px;
    padding: 0.75rem 2rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

/* Mobile Support */
@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .contact-option .btn {
        width: 100%;
    }
}

/* Sections */
.section {
    padding: 6rem 0;
    background-color: var(--dark-color);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

/* Portfolio Section */
.portfolio-item {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.portfolio-overlay {
    background: linear-gradient(to bottom, rgba(109, 40, 217, 0.9), rgba(124, 58, 237, 0.9));
}

/* Footer */
.footer {
    background-color: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.social-links a {
    color: #94a3b8;
    margin-left: 1.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Community Section */
#community {
    background: rgba(15, 23, 42, 0.3);
    padding: 5rem 0;
}

#community h2 {
    margin-bottom: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

/* Discord Cards */
.discord-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(51, 65, 85, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discord-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.discord-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    overflow: hidden;
}

.community-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cookie-theme .discord-icon {
    background: transparent;
}

.discord-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.discord-card p {
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.discord-card .btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background: rgb(99, 102, 241);
    border: none;
    transition: background-color 0.2s ease;
}

.discord-card .btn:hover {
    background: rgb(79, 82, 221);
}

.noktra-theme {
    border-color: rgba(88, 101, 242, 0.3);
}

.cookie-theme {
    border-color: rgba(245, 158, 11, 0.3);
}

.lockie-theme {
    border-color: rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .feature-group {
        padding: 1.5rem;
    }
}

/* Basic scrollbar styles */
body::-webkit-scrollbar {
    width: 16px;
}

body::-webkit-scrollbar-track {
    background-color: #0f172a;
    border-radius: 100px;
}

body::-webkit-scrollbar-thumb {
    background-image: linear-gradient(180deg, rgb(99, 102, 241) 0%, rgb(79, 82, 221) 99%);
    border-radius: 100px;
    border: 4px solid #0f172a;
}

code {
    background: rgba(245, 158, 11, 0.1);
    color: var(--cookie-color);
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.9em;
}

.cookie-features code {
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Support Section */
.support-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: rgba(17, 24, 39, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.support-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.support-card .btn {
    width: auto;
    min-width: 150px;
    padding: 0.75rem 2rem;
    height: 2.75rem;
}

/* Mobile Support */
@media (max-width: 768px) {
    .support-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .support-card .btn {
        width: 100%;
    }
}
