/* 
* Angka Jitu SGP - Main Stylesheet
* Author: Cascade
* Created: 2025-07-18
* Responsive, SEO-optimized styling
*/

/* Base Styles & CSS Reset */
:root {
    --primary-color: #ff6700;
    --secondary-color: #252b42;
    --accent-color: #00b3ff;
    --text-color: #333;
    --light-text: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #1e1e1e;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header & Navigation */
.header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 50px;
    height: 50px;
}

.logo-container h1 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.main-nav .nav-list {
    display: flex;
    list-style-type: none;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--light-text);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--light-text);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400"%3E%3Crect width="800" height="400" fill="%23252b42"/%3E%3Cpath d="M0,200 L800,200" stroke="%23ff6700" stroke-width="4" stroke-dasharray="20,10"/%3E%3Ccircle cx="400" cy="200" r="150" fill="none" stroke="%2300b3ff" stroke-width="3"/%3E%3Cpolygon points="400,100 450,180 535,180 465,230 490,310 400,260 310,310 335,230 265,180 350,180" fill="%23ff6700" opacity="0.7"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 7rem 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 700;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--light-text);
}

/* Games Section */
.games-section {
    padding: 5rem 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.game-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    position: relative;
}

/* Icons for game cards using CSS */
.slot-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transform: rotate(45deg);
}

.poker-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.roulette-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.blackjack-icon::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.game-card h3 {
    margin-bottom: 1rem;
}

.game-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.game-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.game-button:hover {
    background-color: var(--primary-color);
    text-decoration: none;
    color: var(--light-text);
}

.news-references {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.about-section .section-title {
    color: var(--light-text);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 179, 255, 0.1);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.footer h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer ul {
    list-style-type: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--secondary-color);
        padding: 1.5rem 0;
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-list.show {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .games-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
