* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #4b4b9b;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #a7a9d6;
}

.info-top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    flex: 1;
    min-width: 300px;
    background-color: #2f3640;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #f5f6fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.discord-icon {
    width: 28px;
    height: 28px;
}

.discord-text {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 1rem;
}

.discord-link {
    color: #74b9ff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

.discord-link:hover {
    text-decoration: underline;
}

.youtube-video {
    text-align: center;
}

.youtube-video iframe {
    width: 100%;
    height: 180px;
    border-radius: 8px;
}

.search-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.search-box:focus {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.highlights-section {
    margin-bottom: 50px;
}

.section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.game-card.highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    color: #333;
}

.game-card.highlight .game-title {
    color: #8B4513;
    text-shadow: 0.5px 0.5px 1px rgba(255,255,255,0.5);
}

.game-card.highlight .game-meta {
    color: #CC6600;
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2d3436;
}

.game-description {
    color: #636e72;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #74b9ff;
}

.highlight-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e17055;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 30px;
}

.modal-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2d3436;
}

.modal-description {
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.detail-label {
    font-weight: bold;
    color: #2d3436;
    margin-bottom: 5px;
}

.detail-value {
    color: #636e72;
}

.download-button {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.download-button:hover {
    transform: translateY(-2px);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close:hover {
    background: rgba(0,0,0,0.8);
}

.no-results {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-top: 50px;
}

.loading {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-top: 50px;
}

.support-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.support-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    color: white;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.support-modal h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.support-modal p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.pix-key {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: 2px dashed rgba(255,255,255,0.3);
}

.copy-btn {
    background: #00b894;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px 5px;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #00a085;
}

.support-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.support-close:hover {
    opacity: 1;
}

.footer {
    margin-top: 60px;
    padding: 40px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer .disclaimer {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 4px solid #e17055;
}

.footer .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.support-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}

@media (max-width: 768px) {
    .support-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

.download-password-notice {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #f39c12;
    font-weight: bold;
    text-align: center;
    padding: 8px 15px;
    border: 1px solid #f39c12;
    border-radius: 5px;
    background-color: rgba(243, 156, 18, 0.1);
}

.subscribe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.subscribe-content {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 400px;
}

.subscribe-btn {
    background: #ff0000;
    color: white;
    padding: 10px 15px;
    margin: 10px 0;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border-radius: 5px;
}

.continue-btn {
    background: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}
