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

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    margin-bottom: 40px;
}

.main-title {
    font-family: 'Creepster', cursive;
    font-size: 3rem;
    color: #ffcc00;
    text-shadow: 3px 3px 0px #ff6600, 6px 6px 0px #cc4400;
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

.ticker {
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #00cc66;
}

.subtitle {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.main-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #ffcc00;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
    margin-bottom: 30px;
    animation: bounce 3s ease-in-out infinite;
}

.info-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ffcc00;
    margin-bottom: 30px;
    max-width: 600px;
}

.ca-label {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 10px;
}

.ca-address {
    font-size: 0.7rem;
    color: #00ff88;
    word-break: break-all;
    background: rgba(0, 255, 136, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.pump-link {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    color: #000;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.pump-link:hover {
    transform: scale(1.05);
}

/* Social Buttons */
.social-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.telegram-btn {
    background: linear-gradient(45deg, #0088cc, #229ED9);
    color: white;
}

.twitter-btn {
    background: linear-gradient(45deg, #000, #333);
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.nav-btn {
    background: linear-gradient(45deg, #333, #666);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid #ffcc00;
}

.nav-btn:hover {
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #000;
    transform: translateY(-2px);
}

/* Game Specific Styles */
.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.game-header {
    margin-bottom: 30px;
}

.game-header h1 {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #ff6600;
    text-shadow: 3px 3px 0px #cc4400;
    margin-bottom: 10px;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
    font-size: 1.2rem;
}

.game-area {
    position: relative;
    width: 800px;
    height: 600px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 100%);
    border: 5px solid #8B4513;
    border-radius: 20px;
    margin: 0 auto 30px;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.badger {
    position: absolute;
    font-size: 3rem;
    user-select: none;
    transition: all 0.1s ease;
    z-index: 10;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.bear {
    position: absolute;
    font-size: 4rem;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 5;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.hit-indicator {
    position: absolute;
    font-size: 2rem;
    color: #ff0000;
    text-shadow: 2px 2px 0px #990000;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    animation: hitAnimation 0.5s ease-out;
    user-select: none;
}

.game-controls {
    margin: 30px 0;
}

.game-btn {
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s;
}

.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.game-btn:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.instructions {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ffcc00;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
}

.instructions h3 {
    color: #ffcc00;
    margin-bottom: 15px;
    text-align: center;
}

.instructions ul {
    list-style: none;
    margin-bottom: 15px;
}

.instructions li {
    margin: 10px 0;
    font-size: 0.8rem;
}

.instructions p {
    font-size: 0.8rem;
    color: #ccc;
    text-align: center;
}

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

.contact-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #ffcc00;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ffcc00;
    font-size: 0.9rem;
}

.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #666;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 150px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.submit-btn {
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 15% auto;
    padding: 40px;
    border: 3px solid #ffcc00;
    border-radius: 20px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal-title {
    font-family: 'Creepster', cursive;
    font-size: 2.5rem;
    color: #ff0000;
    text-shadow: 3px 3px 0px #990000;
    margin-bottom: 15px;
    animation: shake 0.5s ease-in-out;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: #ffcc00;
    margin-bottom: 30px;
}

.close-btn {
    background: linear-gradient(45deg, #666, #999);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #000;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 2px solid #333;
}

.disclaimer {
    font-size: 0.7rem;
    color: #666;
    font-style: italic;
}

/* Animations */
@keyframes glow {
    from { text-shadow: 3px 3px 0px #ff6600, 6px 6px 0px #cc4400, 0 0 20px #ffcc00; }
    to { text-shadow: 3px 3px 0px #ff6600, 6px 6px 0px #cc4400, 0 0 40px #ffcc00, 0 0 60px #ffcc00; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes hitAnimation {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.5) translateY(-20px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    .game-area {
        width: 100vw;
        max-width: 100vw;
        height: 55vw;
        max-height: 70vh;
        min-height: 300px;
    }
    .game-controls {
        flex-direction: column;
        gap: 10px;
    }
    .social-section {
        flex-direction: column;
        align-items: center;
    }
    .navigation {
        flex-direction: column;
        align-items: center;
    }
    .game-stats {
        flex-direction: column;
        gap: 10px;
    }
    .modal-content {
        width: 95%;
        margin: 30% auto;
        padding: 20px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
}