* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background: #1a1d2e;
    color: white;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1d2e;
}

.container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    background: transparent;
}

.logo-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.site-logo {
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.tagline {
    display: none;
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px 20px;
}

header h1 {
    font-size: 4.5rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    letter-spacing: 2px;
    transition: transform 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

header h1:hover {
    transform: scale(1.05);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding: 20px;
    margin-bottom: 60px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 35px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
}

.game-card:hover::before {
    animation: shimmer 0.6s forwards;
}

@keyframes shimmer {
    0% {
        top: -100%;
        left: -100%;
        opacity: 1;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

.game-card:not(.placeholder):hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-card.placeholder {
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    cursor: default;
}

.game-card.starwars {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%);
    border-color: #FFE81F;
}

.game-card.starwars:hover {
    box-shadow: 0 15px 50px rgba(255, 232, 31, 0.3);
}

.game-card.harrypotter {
    background: linear-gradient(135deg, rgba(116, 0, 1, 0.9) 0%, rgba(174, 0, 1, 0.9) 100%);
    border-color: #FFE81F;
}

.game-card.harrypotter:hover {
    box-shadow: 0 15px 50px rgba(255, 232, 31, 0.3);
}

.game-card.lotr {
    background: linear-gradient(135deg, rgba(26, 58, 26, 0.9) 0%, rgba(45, 76, 45, 0.9) 100%);
    border-color: #9acd32;
}

.game-card.lotr:hover {
    box-shadow: 0 15px 50px rgba(154, 205, 50, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.game-card.starwars h2 {
    color: #FFE81F;
}

.game-card.harrypotter h2 {
    color: #FFE81F;
}

.game-card.lotr h2 {
    color: #9acd32;
}

.card-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
}

.character-count {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    width: fit-content;
}

.play-btn {
    display: block;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.game-card.starwars .play-btn {
    background: rgba(255, 232, 31, 0.15);
    border-color: #FFE81F;
    color: #FFE81F;
}

.game-card.starwars .play-btn:hover {
    background: #FFE81F;
    color: #000;
    transform: scale(1.02);
}

.game-card.harrypotter .play-btn {
    background: rgba(255, 232, 31, 0.15);
    border-color: #FFE81F;
    color: #FFE81F;
}

.game-card.harrypotter .play-btn:hover {
    background: #FFE81F;
    color: #740001;
    transform: scale(1.02);
}

.game-card.lotr .play-btn {
    background: rgba(154, 205, 50, 0.15);
    border-color: #9acd32;
    color: #9acd32;
}

.game-card.lotr .play-btn:hover {
    background: #9acd32;
    color: #0d1f0d;
    transform: scale(1.02);
}

.support-section {
    margin-bottom: 80px;
}

.support-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(135deg, rgba(255, 221, 0, 0.1), rgba(255, 221, 0, 0.05));
    border: 2px solid rgba(255, 221, 0, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 221, 0, 0.2);
    transition: all 0.3s ease;
}

.support-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 221, 0, 0.5);
    box-shadow: 0 12px 40px rgba(255, 221, 0, 0.3);
}

.support-box h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #FFDD00;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.support-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.coffee-button {
    display: inline-block;
}

.coffee-button img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.coffee-button:hover img {
    transform: scale(1.05);
}

footer {
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

footer p {
    margin: 6px 0;
}

@media (max-width: 768px) {
    .site-logo {
        width: 150px;
        height: 150px;
    }

    header h1 {
        font-size: 3rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 10px;
    }

    .game-card {
        padding: 35px 30px;
    }

    .card-content h2 {
        font-size: 1.8rem;
        white-space: normal;
    }
}




.social-contact {
    margin-bottom: 60px;
}

.social-title {
    text-align: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.twitter-btn {
    width: 60px;
    height: 60px;
    padding: 15px;
}

.x-logo {
    width: 28px;
    height: 28px;
}

.contact-btn {
    flex: 1;
    max-width: 250px;
}

.mail-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .social-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .twitter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
}