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

body {
    font-family: 'Noto Serif Thai', serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

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

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background-color: #000;
    border-radius: 20px;
    padding: 40px;
    max-width: 1100px;
    width: 90%;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-content>div{
    max-width: 700px;
}
@media (max-width:768px) {
    .popup-content{
        flex-direction: column;
    }
    .popup-buttons{
        width: 100%;
    }
}
.popup-buttons{
    display: flex;
    flex-direction: column;
}

.popup-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.popup-content p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.popup-subtext {
    font-size: 14px;
    color: #ccc;
}

.popup-buttons {
    display: flex;
 
    gap: 15px;
    margin-top: 30px;
}

.popup-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-family: 'Noto Serif Thai', serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popup-btn.primary {
    background-color: #fff;
    color: #000;
}

.popup-btn.primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.popup-btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.popup-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: #000;
    padding: 20px 0;
   
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

/* Hero Section */
.hero {
    background-color: #000;
    padding: 60px 0;
    padding-bottom: 0px;
}

.hero-content {
    margin: 0 auto;
    background: linear-gradient(135deg, #6b0fff 0%, #5500dd 100%);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    max-width: 740px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Platform Cards */
.platforms {
    background-color: #f5f5f5;
    padding: 60px 0;
    

  

    border-radius: 40px 40px 0 0;
    background: #FFF;

}

.platform-card {
    background: linear-gradient(135deg, #6b0fff 0%, #5500dd 100%);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.platform-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.platform-logo {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    flex-shrink: 0;
}

.platform-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.platform-info {
    flex: 1;
}

.platform-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}

.platform-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-rating {
    text-align: center;
}

.rating-score {
    font-size: 42px;
    font-weight: 700;
   
}

.stars {
    font-size: 20px;
    color: #ffd700;
    letter-spacing: 2px;
}

.platform-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-payments {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.platform-payments img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.discover-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Noto Serif Thai', serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;

    text-align: center;
}

.discover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mobile-btn {
    display: none;
}

/* Why Choose Section */
.why-choose {
    background-color: #fff;
    padding: 60px 0;
    color: #000;
}

.why-choose h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.why-choose ul {
    list-style: none;
    padding-left: 0;
}

.why-choose ul li {
    font-size: 18px;
    margin-bottom: 5px;
    padding-left: 30px;
    position: relative;
}

.why-choose ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b0fff;
    font-size: 24px;
}

/* Important Note Section */
.important-note {
    background-color: #fff;
    padding: 60px 0;
    color: #000;
}

.important-note h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.important-note p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Legal Section */
.legal {
    background-color: #fff;
    padding: 60px 0;
    color: #000;
}

.legal h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #fff;
    color: #000;
    padding: 40px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
}

.footer-left h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 382px;
}

.footer-nav a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #6b0fff;
}

.footer-badges {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 500px;
    justify-content: flex-end;
    flex-wrap: wrap;
    justify-content: center;
 
}

.footer-badges img {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 140px;
}

.footer-bottom {
    background: linear-gradient(135deg, #6b0fff 0%, #5500dd 100%);
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .platform-card {
        flex-direction: column;
        text-align: left;
        padding: 30px 20px;
        gap: 20px;
    }

    .platform-left {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .platform-logo {
        margin: 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .platform-info {
        width: 100%;
        text-align: left;
    }

    .platform-info p {
        font-size: 15px;
    }

    .platform-center {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .platform-rating {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 5px;
    }

    .rating-score {
        font-size: 48px;
        line-height: 1;
    }

    .stars {
        font-size: 20px;
        display: block;
    }

    .platform-right {
        width: 100%;
        justify-content: flex-start;
        gap: 0;
        position: absolute;
        right: 20px;
        top: 64%;
        transform: translateY(-50%);
        width: auto;
    }
    .footer-badges{
        gap: 6px;
        justify-content: space-between;
        row-gap: 26px;
    }
    .footer-nav{
        display: flex;
        flex-wrap: wrap;
    }

    .platform-payments {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .payment-row {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }

    .platform-payments img {
        height: 28px;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-btn {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .why-choose h2,
    .important-note h2,
    .legal h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-left {
        width: 100%;
    }

    .footer-left h3 {
        font-size: 20px;
    }

    .footer-nav {
        
        gap: 10px;
    }

    .footer-nav a {
        font-size: 16px;
    }

    .footer-badges {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 100%;
       
    }

    .footer-badges img {
        height: 40px;
    }

    .footer-bottom p {
        font-size: 14px;
    }

    .popup-content {
        padding: 30px 20px;
    }

    .popup-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .popup-buttons {
        gap: 10px;
    }

    .popup-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}