:root {
    /* Modern Tech Blue palette */
    --primary: #EF4444;
    --secondary: #F59E0B;
    --accent: #3B82F6;
    --background: #FFFFFF;
    --text: #1F2937;
    --success: #10B981;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--background);
    padding-top: 76px; /* Add padding for fixed navbar */
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-text {
    color: var(--text);
}

.brand-dot {
    color: var(--primary);
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Plinko Board Game Element */
.hero-game-element {
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plinko-board {
    position: relative;
    width: 300px;
    height: 400px;
    background: linear-gradient(180deg, #2d3748 0%, #4a5568 100%);
    border-radius: 20px;
    border: 4px solid #1a202c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.plinko-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pin-1 { top: 60px; left: 50%; transform: translateX(-50%); }
.pin-2 { top: 100px; left: 30%; }
.pin-3 { top: 100px; right: 30%; }
.pin-4 { top: 140px; left: 20%; }
.pin-5 { top: 140px; left: 50%; transform: translateX(-50%); }
.pin-6 { top: 140px; right: 20%; }
.pin-7 { top: 180px; left: 15%; }
.pin-8 { top: 180px; left: 40%; }
.pin-9 { top: 180px; right: 40%; }
.pin-10 { top: 180px; right: 15%; }

.plinko-ball {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fff 0%, #e2e8f0 100%);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: plinkoDrop 3s ease-in-out infinite;
}

@keyframes plinkoDrop {
    0% { top: 20px; left: 50%; }
    25% { top: 80px; left: 45%; }
    50% { top: 140px; left: 55%; }
    75% { top: 200px; left: 35%; }
    100% { top: 350px; left: 50%; }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.card-1 {
    top: 0;
    left: 0;
}

.card-2 {
    bottom: 0;
    right: 0;
}

/* Stats Section */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text);
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, rgba(239, 68, 68, 0.05), rgba(245, 158, 11, 0.05));
}

.about-content {
    padding-right: 2rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Idle Game Preview Element */
.about-game-element {
    position: relative;
    padding: 2rem;
}

.idle-game-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.idle-game-preview::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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.game-ui {
    position: relative;
    z-index: 1;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.currency-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.currency-display i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.currency-amount {
    font-size: 1.1rem;
}

.level-display {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 500;
}

.game-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upgrade-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.upgrade-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.15);
}

.upgrade-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.upgrade-info {
    flex: 1;
    color: white;
}

.upgrade-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.upgrade-cost {
    font-size: 0.9rem;
    opacity: 0.8;
}

.upgrade-count {
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .about-game-element {
        padding: 1rem;
    }

    .experience-badge {
        bottom: 1rem;
        right: 1rem;
    }

    .plinko-board {
        width: 250px;
        height: 350px;
    }
}

/* Service Cards */
.services-section {
    padding: 6rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-link:hover {
    color: var(--secondary);
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
}

.portfolio-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 68, 68, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
    color: white;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.contact-item h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Success Message Styles */
#success-message {
    animation: slideInDown 0.5s ease-out;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10B981;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#success-message.show {
    display: block !important;
}

/* Footer */
footer {
    background-color: var(--text);
    padding: 4rem 0 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }

    .hero-section {
        padding: 4rem 0 2rem;
        min-height: auto;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .floating-card {
        display: none;
    }

    .experience-badge {
        bottom: 0;
        right: 0;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Privacy Policy Page Styles */
.privacy-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom right, rgba(239, 68, 68, 0.05), rgba(245, 158, 11, 0.05));
}

.privacy-header {
    margin-bottom: 4rem;
}

.privacy-header .section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.privacy-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
}

.privacy-card h2 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.privacy-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.privacy-card h3 {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 1rem;
}

.privacy-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.feature-list li i {
    color: var(--primary);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.contact-info {
    background: rgba(239, 68, 68, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.contact-item p {
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 6rem 0 3rem;
    }

    .privacy-card {
        padding: 1.5rem;
    }

    .privacy-header {
        margin-bottom: 3rem;
    }
}