@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');
        
:root {
    --rose-gold: #D4A59A;
    --rose-gold-light: #E0BFB8;
    --rose-gold-dark: #B76E79;
    --dark-green: #011A10;
    --darker-green: #001009;
    --darkest-green: #000705;
    --white: #FFFFFF;
    --black: #000000;
    --grey: #777777;
    --grid-color: rgba(212, 165, 154, 0.1);
    --neon-glow: 0 0 10px currentColor;
    --pc-bezel: #111111;
    --active-color: #D4A59A;
    --currency-green: #00ff00;
    --vibgror-1: #FF5733;
    --vibgror-2: #33FF57;
    --vibgror-3: #3357FF;
    --vibgror-4: #F3FF33;
    --vibgror-5: #FF33F3;
    --vibgror-6: #33FFF3;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darkest-green);
    color: var(--white);
    min-height: 100vh;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 20px;
}

.wallpaper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, 
        var(--dark-green) 0%, 
        var(--darkest-green) 70%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Virtual PC Container */
.virtual-pc {
    width: 100%;
    max-width: 1400px;
    min-height: 600px;
    height: 85vh;
    background: var(--pc-bezel);
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(212, 165, 154, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--active-color);
    display: flex;
    flex-direction: column;
}

.pc-screen {
    flex: 1;
    width: calc(100% - 40px);
    margin: 20px auto 10px;
    background: #000;
    border: 1px solid rgba(212, 165, 154, 0.3);
    position: relative;
    overflow: hidden;
}

.pc-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, 
        var(--dark-green) 0%, 
        var(--darkest-green) 70%);
}

.pc-footer {
    flex-shrink: 0;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-branding {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--rose-gold);
    letter-spacing: 2px;
}

.pc-model {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.pc-power {
    width: 40px;
    height: 20px;
    background: rgba(51, 51, 51, 0.7);
    border: 1px solid var(--rose-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--rose-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.pc-power.on {
    background: rgba(212, 165, 154, 0.3);
    box-shadow: 0 0 10px rgba(212, 165, 154, 0.5);
    color: var(--rose-gold);
    text-shadow: 0 0 5px var(--rose-gold);
}

.pc-power.off {
    background: rgba(51, 51, 51, 0.7);
    color: rgba(212, 165, 154, 0.5);
}

/* Main Content */
.main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2vh 3vw;
    z-index: 2;
    overflow-y: auto;
}

.logo-section {
    text-align: center;
    margin-top: 1vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--rose-gold);
    text-shadow: 0 0 30px rgba(212, 165, 154, 0.5);
    letter-spacing: 6px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { text-shadow: 0 0 30px rgba(212, 165, 154, 0.5); }
    100% { text-shadow: 0 0 50px rgba(212, 165, 154, 0.8); }
}

.tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Tabbed interface */
.tab-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tab-button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--rose-gold);
    color: var(--rose-gold);
    padding: 8px 15px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    border-radius: 4px;
}

.tab-button.active {
    background: rgba(212, 165, 154, 0.2);
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 10px rgba(212, 165, 154, 0.5);
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--rose-gold);
    border-radius: 8px;
    max-height: 60vh;
}

.tab-pane {
    display: none;
    height: 100%;
    overflow-y: auto;
}

.tab-pane.active {
    display: block;
}

/* Content styling */
.ipmen-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ipmen-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--rose-gold);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.ipmen-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--rose-gold-light);
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--rose-gold);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-box {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.2rem;
    border-left: 4px solid var(--rose-gold);
    background: rgba(0, 0, 0, 0.3);
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
}

.content-section {
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--rose-gold);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--rose-gold);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rose-gold);
}

.highlight {
    background: rgba(212, 165, 154, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    margin: 0.8rem 0;
    border-left: 3px solid var(--rose-gold);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.scenario {
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--rose-gold);
}

.scenario-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--rose-gold);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.scenario-value {
    font-weight: bold;
    color: var(--rose-gold-light);
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.scenario-list {
    list-style-type: none;
    padding-left: 1rem;
}

.scenario-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.scenario-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--rose-gold);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.team-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--rose-gold);
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 165, 154, 0.2);
}

.team-icon {
    font-size: 1.8rem;
    color: var(--rose-gold);
    margin-bottom: 0.8rem;
}

.team-role {
    font-weight: 700;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
}

/* Chart container */
.chart-container {
    width: 100%;
    max-width: 500px;
    margin: 15px auto;
}

/* Chat room styles */
.chat-container {
    width: 100%;
    height: 250px;
    border: 1px solid var(--rose-gold);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
}

.chat-message {
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.chat-username {
    font-weight: bold;
    margin-right: 5px;
    color: var(--rose-gold);
}

.chat-input-container {
    display: flex;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
}

.chat-input {
    flex-grow: 1;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--rose-gold);
    color: white;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.chat-send {
    background: var(--rose-gold);
    color: var(--darkest-green);
    border: none;
    padding: 8px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Defender selection dropdown */
.defender-selector {
    margin: 15px 0;
}

.defender-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.defender-item {
    padding: 5px;
    border: 1px solid var(--rose-gold);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    position: relative;
}

.defender-item.selected {
    background: rgba(212, 165, 154, 0.3);
    color: white;
}

.defender-item.selected:hover {
    background: rgba(212, 165, 154, 0.5);
    transform: scale(0.95);
}

.defender-item.selected::after {
    content: '×';
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.helper-text {
    font-size: 0.8rem;
    color: var(--rose-gold-light);
    margin-top: 5px;
    font-style: italic;
    text-align: center;
}

/* Currency styling */
.currency {
    color: var(--currency-green);
    font-weight: bold;
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-top: 1rem;
}

.url {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.visitor-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    color: var(--rose-gold);
    text-shadow: 0 0 8px rgba(212, 165, 154, 0.5);
    position: fixed;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid var(--rose-gold);
    z-index: 9999;
    box-shadow: 0 0 15px rgba(212, 165, 154, 0.3);
}

#visitorCount {
    font-weight: bold;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--currency-green);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.signature {
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--rose-gold);
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--rose-gold);
    border-radius: 4px;
    color: white;
    font-family: inherit;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Fix for dropdown options visibility */
select option {
    background-color: var(--darkest-green);
    color: white;
}

.submit-btn {
    background: var(--rose-gold);
    color: var(--darkest-green);
    border: none;
    padding: 0.9rem 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.8vw, 1.3rem);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--rose-gold-light);
    box-shadow: 0 0 20px rgba(212, 165, 154, 0.5);
}

/* PC Boot Animation */
.boot-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.boot-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--rose-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.boot-progress {
    width: 60%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.boot-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}

.boot-status {
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    color: var(--white);
    font-size: 1rem;
}

/* Particles and effects */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(212, 165, 154, 0.6);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) scale(1.2);
        opacity: 0;
    }
}

.glow-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--rose-gold), 
        transparent);
    filter: drop-shadow(0 0 5px var(--rose-gold));
    animation: scan 8s infinite linear;
    z-index: 1;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Mobile touch improvements */
.mobile-touch-target {
    min-height: 44px; /* Apple's recommended minimum touch target size */
}

.touch-active {
    transform: scale(0.95);
    transition: transform 0.2s ease;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .virtual-pc {
        height: 85vh;
        width: 98%;
    }
    
    .pc-screen {
        height: calc(100% - 50px);
    }
    
    .stats-container {
        gap: 10px;
    }
    
    .stat-box {
        min-width: 120px;
        padding: 0.8rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .defender-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    body {
        padding: 10px;
    }
    
    .wallpaper {
        padding: 10px;
    }
    
    .tab-content {
        max-height: 50vh;
    }
    
    .submit-btn {
        margin-bottom: 20px;
    }

    /* Improved mobile experience */
    .tab-button {
        padding: 12px 15px; /* Larger touch target */
        width: 100%; /* Full width buttons for easier tapping */
        text-align: center;
        margin-bottom: 5px;
    }
    
    .quote-box {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* Smaller font on mobile */
        padding: 0.8rem;
    }
    
    .section-title {
        font-size: clamp(1.2rem, 2vw, 1.5rem); /* Smaller headings on mobile */
    }
    
    .ipmen-title {
        font-size: clamp(1.5rem, 2.5vw, 2rem); /* Smaller main titles */
    }
    
    .ipmen-subtitle {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    }
    
    /* Ensure form inputs are easy to tap */
    input, textarea, select, .chat-input {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 12px; /* Larger touch target */
    }
    
    /* Make buttons more tappable */
    .submit-btn, .chat-send {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    /* Ensure defender items are easier to tap */
    .defender-item {
        padding: 8px 5px;
        min-height: 40px; /* Minimum height for touch */
    }
    
    /* Improve chat readability */
    .chat-container {
        height: 200px; /* Smaller height on mobile */
    }
    
    /* Ensure footer is readable */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    /* Update visitor counter for mobile */
    .visitor-counter {
        top: 10px;
        right: 10px;
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    #visitorCount {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .virtual-pc {
        min-height: auto; /* Remove min-height constraint */
    }
    
    .pc-branding, .pc-model {
        font-size: 0.8rem; /* Smaller footer text */
    }
    
    h1 {
        font-size: clamp(1.5rem, 4vw, 2rem); /* Smaller main title */
    }
    
    .stat-box {
        min-width: 90px; /* Allow smaller stat boxes */
        padding: 0.6rem;
    }
    
    .stat-number {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem); /* Smaller stats */
    }
    
    .tab-content {
        padding: 8px;
        max-height: 55vh; /* More content visible */
    }
    
    .content-section {
        padding: 0.8rem;
        margin: 0.8rem 0;
    }
    
    /* Fix the chart size on very small screens */
    .chart-container {
        max-width: 100%;
        height: 200px;
    }
    
    /* Ensure the PC power button is easier to tap */
    .pc-power {
        width: 50px;
        height: 24px;
        font-size: 0.8rem;
    }
}

.form-section {
    padding-bottom: 30px; /* Extra padding at bottom */
    margin-bottom: 30px;
}