* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo i {
    font-size: 48px;
    color: #f8b500;
    margin-right: 15px;
}

.logo h1 {
    font-size: 48px;
    background: linear-gradient(90deg, #f8b500, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 20px;
    color: #a5b1c2;
    margin-top: 10px;
}

.game-preview {
    text-align: center;
    margin: 30px 0 40px;
}

.cards-preview {
    display: inline-flex;
    margin-top: 20px;
}

.card {
    width: 80px;
    height: 120px;
    background: white;
    border-radius: 8px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px) rotate(0deg);
}

.card:nth-child(1) {
    background: linear-gradient(135deg, #ff7675 0%, #fd79a8 100%);
    transform: rotate(-10deg);
}

.card:nth-child(2) {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    transform: rotate(-5deg);
}

.card:nth-child(3) {
    background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
    transform: rotate(0deg);
}

.card:nth-child(4) {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    transform: rotate(5deg);
}

.card:nth-child(5) {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    transform: rotate(10deg);
}

.game-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-description h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #f8b500;
    text-align: center;
}

.game-description p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #d1d8e0;
    line-height: 1.7;
}

.download-section {
    text-align: center;
    margin-bottom: 60px;
}

.download-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #f8b500;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.download-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: white;
    text-decoration: none;
    padding: 22px 32px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 600;
    width: 350px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.android-btn {
    background: linear-gradient(135deg, #3ddc84 0%, #2e7d32 100%);
}

.windows-btn {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
}

.download-icon {
    font-size: 42px;
    margin-right: 20px;
}

.download-text {
    text-align: left;
}

.download-text span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 5px;
}

.download-note {
    color: #a5b1c2;
    font-size: 16px;
    font-style: italic;
}

.instructions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.instructions h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #f8b500;
    text-align: center;
}

.instructions p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.rules {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rule-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.rule-number {
    background: #f8b500;
    color: #1a1a2e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

.rule-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #f8b500;
}

.rule-content p {
    color: #d1d8e0;
    font-size: 17px;
    line-height: 1.6;
}

.rule-content strong {
    color: #f8b500;
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a5b1c2;
    font-size: 16px;
}

footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.footer-links a {
    color: #a5b1c2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

.footer-links i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .logo h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .game-description h2, .instructions h2, .download-section h2 {
        font-size: 30px;
    }

    .download-btn {
        width: 100%;
        max-width: 350px;
        padding: 18px 25px;
        font-size: 22px;
    }

    .card {
        width: 60px;
        height: 90px;
        font-size: 18px;
    }

    .rule-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rule-content h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
    }

    .logo i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .download-btn {
        padding: 15px 20px;
        font-size: 20px;
    }

    .download-icon {
        font-size: 32px;
        margin-right: 15px;
    }

    .card {
        width: 50px;
        height: 75px;
        font-size: 16px;
        margin: 0 3px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .game-description, .instructions {
        padding: 25px;
    }
}