/* ShellShock.pro - Game Style CSS */

/* Base Styles and Reset */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #2f3136;
    --background-color: #1e1f22;
    --text-color: #f5f5f5;
    --accent-color: #4adf86;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::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="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.logo {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Styles */
nav {
    position: relative;
    z-index: 2;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

nav a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Main Content Styles */
main {
    padding: 0;
}

/* Game Container Styles */
.game-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.game-frame {
    max-width: 1200px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
    position: relative;
}

.game-frame iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

/* Game Loading Styles */
.game-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-loading p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Game Error Styles */
.game-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #ff6b6b;
    z-index: 10;
    max-width: 400px;
    width: 90%;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.game-error p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.retry-btn, .new-tab-btn {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
    min-width: 120px;
}

.new-tab-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.retry-btn:hover, .new-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.new-tab-btn:hover {
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

/* Loading Timeout Styles */
.loading-timeout {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
}

.loading-timeout p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.loading-timeout p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Game Message Styles */
.game-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.game-message-success {
    background: linear-gradient(135deg, #4adf86, #2ecc71);
    border-left: 4px solid #27ae60;
}

.game-message-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-left: 4px solid #5a6fd8;
}

.game-message-warning {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    border-left: 4px solid #e67e22;
}

.game-message p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Game Loaded State */
.game-frame.game-loaded {
    border: 2px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255, 107, 107, 0.2);
    animation: gameLoadedGlow 2s ease-in-out;
}

@keyframes gameLoadedGlow {
    0% { box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(255, 107, 107, 0.4); }
    100% { box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255, 107, 107, 0.2); }
}

.game-controls {
    padding: 1rem;
    background: rgba(0,0,0,0.8);
}

.fullscreen-btn {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.fullscreen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.game-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.game-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.game-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Content Section Styles */
.content-section {
    padding: 4rem 2rem;
    border-bottom: 1px solid #eee;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 2px;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.text-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid #ff6b6b;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content ol, .text-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.text-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.text-content strong {
    color: #333;
    font-weight: 600;
}

/* Weapons Grid Styles */
.weapons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.weapon-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.weapon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
}

.weapon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.weapon-card h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.weapon-card p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #ff6b6b;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer ol, .faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ff6b6b;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #34495e;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: white;
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #ff6b6b;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .game-container {
        padding: 2rem 1rem;
    }
    
    .game-intro h2 {
        font-size: 2rem;
    }
    
    .weapons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .weapon-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .game-frame iframe {
        height: 300px;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .text-content h3 {
        font-size: 1.5rem;
    }
    
    /* Mobile Game Message Styles */
    .game-message {
        position: fixed;
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Mobile Game Error Styles */
    .game-error {
        padding: 1.5rem;
        max-width: 320px;
        width: 95%;
    }
    
    .error-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .game-error p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .retry-btn, .new-tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 100px;
        width: 100%;
    }
    
    /* Mobile Loading Styles */
    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .game-loading p {
        font-size: 1rem;
    }
    
    .loading-timeout {
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    .loading-timeout p {
        font-size: 0.85rem;
    }
} 