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

/* Prevenir overflow horizontal en todos los elementos */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

/* Excepciones para pseudo-elementos decorativos */
.hero-overlay::before,
.hero-overlay::after,
.particle {
    max-width: none;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #8338ec;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-width: 320px; /* Prevenir colapso en pantallas muy pequeñas */
}

html {
    overflow-x: hidden;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.5;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.1);
}

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

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    line-height: 1;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li a.workshop-link {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.nav-menu li a.workshop-link::after {
    display: none;
}

.nav-menu li a.workshop-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    color: white;
}

.nav-menu li a.donations-link {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.nav-menu li a.donations-link::after {
    display: none;
}

.nav-menu li a.donations-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    color: #000;
}

.nav-menu li a.bits-link {
    background: linear-gradient(135deg, #00d4ff 0%, #8338ec 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.nav-menu li a.bits-link::after {
    display: none;
}

.nav-menu li a.bits-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at top, rgba(0, 212, 255, 0.15), transparent),
        radial-gradient(ellipse at bottom, rgba(255, 0, 110, 0.15), transparent),
        var(--dark-bg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.title-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.title-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 10px;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    border-radius: 5px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Jobs Section */
.jobs {
    background: rgba(0, 0, 0, 0.3);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    width: 100%;
}

.job-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.job-header {
    padding: 2rem;
    text-align: center;
    background: var(--gradient-1);
}

.job-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.job-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.job-card p {
    padding: 1.5rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Rules Section */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.rule-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.rule-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.rule-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.rule-content p {
    color: var(--text-secondary);
}

.rules-button-container {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.rules-button-container .btn {
    display: inline-block;
    min-width: 280px;
}

.btn-police {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-police:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.btn-construction {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-construction:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
}

/* Staff Section */
.staff {
    background: rgba(0, 0, 0, 0.3);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    width: 100%;
}

.staff-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.staff-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.staff-link:hover .staff-avatar-img img {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.staff-link:hover .staff-avatar-fallback {
    transform: scale(1.1);
}

.staff-avatar-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    background: var(--dark-bg);
}

.staff-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
}

.staff-avatar-fallback {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.staff-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.staff-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.staff-role {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.staff-steam {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.staff-link:hover .staff-steam {
    opacity: 1;
}

/* Connect Section */
.connect-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.workshop-section {
    margin-bottom: 3rem;
}

.workshop-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.workshop-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.workshop-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.5);
}

.workshop-icon {
    font-size: 3.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

/* Animación de spinner para carga */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.workshop-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.workshop-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.workshop-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.workshop-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.connect-info {
    margin-bottom: 3rem;
}

.connect-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.ip-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    margin-bottom: 1rem;
}

.ip-text {
    flex: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.copy-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.connect-instructions {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.connect-direct-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.social-links h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-btn.workshop {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.social-btn.discord {
    background: #5865F2;
}

.social-btn.steam {
    background: #171a21;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive Design */

/* Tablet Grande - Menú hamburguesa activado antes */
@media (max-width: 1100px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        padding: 80px 0 2rem;
        z-index: 1000;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.8rem 0;
    }
    
    .nav-menu li a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
    }
    
    .nav-menu li a.workshop-link,
    .nav-menu li a.donations-link {
        display: inline-block;
        margin: 0.5rem 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-grid,
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .navbar {
        padding: 1rem 0;
    }
      .hero {
        padding: 100px 15px 50px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
        max-width: 100%;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .title-main {
        font-size: 2.2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .title-sub {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 1rem 0 1.5rem;
        padding: 0 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    
    .stat-item {
        min-width: 100%;
        padding: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .features-grid,
    .jobs-grid,
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 10px;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .ip-box {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .ip-address {
        font-size: 1rem;
        word-break: break-all;
    }    .connect-box {
        padding: 2rem 1rem;
        margin: 0 10px;
    }

    .workshop-btn {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        width: calc(100% - 20px);
        margin: 0 10px;
    }

    .workshop-icon {
        font-size: 3rem;
    }

    .workshop-title {
        font-size: 1.2rem;
    }
    
    .workshop-subtitle {
        font-size: 0.9rem;
    }

    .rules-button-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 10px;
    }

    .rules-button-container .btn {
        min-width: 100%;
        max-width: 100%;
    }
    
    .feature-card,
    .job-card,
    .staff-card {
        padding: 1.5rem;
        margin: 0;
    }

    /* Prevenir overflow en cards */
    .feature-card *,
    .job-card *,
    .staff-card * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .title-main {
        font-size: 1.8rem;
    }
    
    .title-sub {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 5px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        padding: 0 5px;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .feature-card,
    .job-card,
    .staff-card {
        padding: 1.2rem;
    }

    .nav-menu li a {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Móvil extra pequeño */
@media (max-width: 360px) {
    .title-main {
        font-size: 1.5rem;
    }

    .title-sub {
        font-size: 0.7rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

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