/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: url('Background.jpg') center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Language Modal */
#languageModal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#languageModal .modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 30px rgba(106, 90, 205, 0.5);
    border: 1px solid rgba(106, 90, 205, 0.3);
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.5s ease-out;
}

#languageModal h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* General Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 50px rgba(106, 90, 205, 0.7);
    border: 1px solid rgba(106, 90, 205, 0.5);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.4s ease-out;
}

.locker-modal {
    background: linear-gradient(145deg, #0a192f, #1a1a2e);
    border: 2px solid #e63946;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffcc00;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content p {
    margin-bottom: 30px;
    color: #e0e0e0;
    line-height: 1.6;
}

.language-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lang-btn {
    background: linear-gradient(145deg, #0f3460, #1a1a2e);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 90, 205, 0.3);
}

.lang-btn:hover {
    background: linear-gradient(145deg, #1a1a2e, #0f3460);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 90, 205, 0.4);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo h1 {
    font-size: 28px;
    background: linear-gradient(45deg, #ffcc00, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.logo span {
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffcc00;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffcc00, #ff6b6b);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(233, 69, 96, 0.2) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

.visual-icon {
    margin: 20px auto;
    width: 150px;
    height: 150px;
    position: relative;
}

.combined-icon {
    font-size: 80px;
    position: relative;
}

.combined-icon .gem {
    position: absolute;
    top: 0;
    left: 30px;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

.combined-icon .coin {
    position: absolute;
    top: 50px;
    left: 0;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.combined-icon .king-emote {
    position: absolute;
    top: 50px;
    right: 0;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.7);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 20px auto;
    background: linear-gradient(45deg, #ffcc00, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.cta-button {
    background: linear-gradient(45deg, #ffcc00, #e63946);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    border: 2px solid #ffcc00;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.6);
    background: linear-gradient(45deg, #e63946, #ffcc00);
}

/* Validator Section */
.validator-section {
    padding: 60px 20px;
    background: rgba(10, 25, 47, 0.7);
    border-radius: 15px;
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.validator-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.validator-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e0e0e0;
}

#playerId {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.5);
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

#playerId:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.platform-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-selector label {
    font-weight: 600;
    color: #e0e0e0;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.radio-group label {
    font-weight: normal;
    color: #ccc;
    cursor: pointer;
}

.resource-generation {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.resource-display {
    background: rgba(255, 204, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.resource-display p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0;
}

.generated-resources {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.resource-item {
    background: rgba(255, 204, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    text-align: center;
}

.resource-item strong {
    color: #ffcc00;
    font-size: 1.2rem;
}

.emote-preview {
    background: rgba(26, 26, 46, 0.5);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(106, 90, 205, 0.3);
    margin-top: 15px;
}

.emote-preview h3 {
    color: #ffcc00;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.emote-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.emote-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.claim-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.countdown {
    text-align: center;
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    animation: pulse 2s infinite;
}

.packs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pack-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 90, 205, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(106, 90, 205, 0.5);
    border-color: rgba(255, 204, 0, 0.5);
}

.pack-header {
    padding: 20px;
    background: rgba(15, 12, 41, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pack-header h3 {
    font-size: 1.5rem;
    color: #ffcc00;
}

.emotes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
}

.emote-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.emote-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.emote-item:hover {
    background: rgba(255, 204, 0, 0.2);
    transform: scale(1.1);
    border-color: #ffcc00;
}

.claim-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #0f3460, #1a1a2e);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.claim-button:hover {
    background: linear-gradient(45deg, #1a1a2e, #0f3460);
    color: #ffcc00;
}

/* Generator Section */
.generator-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 40px auto;
}

.generator-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffcc00;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.console {
    background: #0a192f;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.console-header {
    background: #0d2b4e;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.console-dots {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.console-title {
    color: #00e5ff;
    font-family: monospace;
    font-size: 14px;
}

.console-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 16px;
    line-height: 1.5;
    background: rgba(10, 25, 47, 0.8);
}

.console-line {
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease;
}

.console-line .status {
    float: right;
}

.console-line .ok {
    color: #27c93f;
}

.console-line .secure {
    color: #ffbd2e;
}

.console-line .success {
    color: #27c93f;
}

.progress-container {
    margin-top: 30px;
}

.progress-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffcc00, #e63946);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #ffcc00;
    font-weight: 600;
}

/* Verify Button */
.verify-button {
    background: linear-gradient(45deg, #ffcc00, #e63946);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    border: 2px solid #ffcc00;
    animation: pulse 2s infinite;
}

.verify-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.6);
    background: linear-gradient(45deg, #e63946, #ffcc00);
}

/* Social Proof */
.social-proof {
    padding: 60px 20px;
    max-width: 900px;
    margin: 40px auto;
}

.comments-section {
    background: rgba(10, 25, 47, 0.7);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.comments-section h3 {
    text-align: center;
    color: #ffcc00;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.comments-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border-left: 3px solid #ffcc00;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.comment.visible {
    opacity: 1;
    transform: translateY(0);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.username {
    font-weight: 600;
    color: #ffcc00;
}

.time {
    color: #777;
    font-size: 0.9rem;
}

.comment-body {
    color: #e0e0e0;
    line-height: 1.5;
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-button {
    background: rgba(255, 204, 0, 0.2);
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 204, 0, 0.3);
    transform: scale(1.1);
}

.ticker {
    background: linear-gradient(90deg, #e63946, #ffcc00);
    color: #0a192f;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    animation: flash 1s infinite;
}

/* Footer */
.footer {
    background: rgba(10, 25, 47, 0.95);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 204, 0, 0.3);
}

.footer-content {
    text-align: center;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffcc00, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
}

.disclaimer {
    margin: 20px 0;
}

.disclaimer p {
    color: #777;
    font-size: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.footer p {
    color: #777;
    font-size: 14px;
    margin-top: 30px;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 204, 0, 0.3), 0 0 20px rgba(255, 204, 0, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.5), 0 0 30px rgba(255, 204, 0, 0.4);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 204, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .packs-container {
        grid-template-columns: 1fr;
    }
    
    .emotes-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
    }
    
    .emote-item {
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .emotes-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }
    
    .emote-item {
        height: 40px;
        font-size: 16px;
    }
}