/* ===== CSS Variables ===== */
:root {
    --primary-color: #dc3545;
    --primary-dark: #a71d2a;
    --secondary-color: #ffd700;
    --accent-color: #ff6b35;
    --bg-dark: #1a1a2e;
    --bg-light: #16213e;
    --bg-card: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-gold: #ffd700;
    --success-color: #28a745;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

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

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== Header ===== */
.header {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
}

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

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

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 2px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 215, 0, 0.2);
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ===== Main Content ===== */
.main-content {
    padding: 30px 0 50px;
}

/* ===== Page Title ===== */
.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

/* ===== Date Picker Section ===== */
.date-picker-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.date-picker-section label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.date-input {
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.fetch-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fetch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* ===== Loading Indicator ===== */
.loading {
    text-align: center;
    padding: 50px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-card);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Error Message ===== */
.error-message {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.error-message p {
    color: #ff6b6b;
    font-size: 1.1rem;
}

/* ===== Jackpot Banner ===== */
.jackpot-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--secondary-color);
    flex-wrap: wrap;
    gap: 20px;
}

.jackpot-icon {
    font-size: 3rem;
}

.dragon-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.jackpot-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jackpot-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.jackpot-date {
    font-size: 1.1rem;
    font-weight: 500;
}

.next-draw {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.jackpot-amount {
    text-align: right;
}

.jackpot-amount .currency {
    font-size: 1rem;
    display: block;
}

.jackpot-amount .amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== Prize Sections ===== */
.prize-section {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Grand Prize Numbers ===== */
.grand-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.number-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.number-ball:hover {
    transform: scale(1.1);
}

.number-ball.grand {
    background: linear-gradient(145deg, #ff6b6b, #dc3545);
    color: white;
    border: 3px solid var(--secondary-color);
}

.number-ball.consolation {
    background: linear-gradient(145deg, #4facfe, #00f2fe);
    color: var(--bg-dark);
    border: 3px solid white;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

/* ===== Consolation Prize ===== */
.consolation-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.consolation-numbers .dash {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.consolation-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.consolation-note a {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== Date Banner ===== */
.date-banner {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ffeb3b 100%);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.date-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-dark);
    letter-spacing: 1px;
}

/* ===== Results Section ===== */
.results-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.prize-table {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.prize-table table {
    width: 100%;
    border-collapse: collapse;
}

.prize-table th {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--secondary-color);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prize-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
}

.prize-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

.prize-table .prefix {
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 5px;
}

.prize-table .num {
    font-weight: 600;
}

/* Main Prizes Table */
.main-prizes .prize-label {
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
}

.main-prizes .prize-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.main-prizes .first-prize .prize-number {
    color: #ff6b6b;
    font-size: 1.5rem;
}

.main-prizes .second-prize .prize-number {
    color: #4facfe;
}

.main-prizes .third-prize .prize-number {
    color: #28a745;
}

/* ===== 6D Jackpot Results ===== */
.jackpot-results {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.jackpot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.jackpot-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.jackpot-pool {
    text-align: right;
}

.pool-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pool-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
}

.pool-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Bonus Section */
.bonus-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.bonus-badge {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-badge.no-bonus {
    background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
    color: white;
}

.bonus-badge.has-bonus {
    background: linear-gradient(90deg, var(--success-color) 0%, #20c997 100%);
    color: white;
}

.bonus-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bonus-letter {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.bonus-amount {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Matching Table */
.matching-table {
    overflow-x: auto;
}

.matching-table table {
    width: 100%;
    border-collapse: collapse;
}

.matching-table th {
    background: var(--primary-dark);
    color: var(--secondary-color);
    padding: 12px 8px;
    font-size: 0.9rem;
}

.matching-table td {
    padding: 10px 5px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.matching-table .prize-rank {
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(220, 53, 69, 0.3);
    white-space: nowrap;
}

.matching-table .num {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 700;
    border-radius: 5px;
    min-width: 22px;
    padding: 6px 4px;
    font-size: 0.85rem;
}

.matching-table .or-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.75rem;
    padding: 5px 2px;
}

.matching-table .empty {
    color: transparent;
    padding: 5px 2px;
}

/* ===== Past Results ===== */
.past-results {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.past-results h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.past-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.past-result-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.past-result-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.past-result-card .date {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.past-result-card .day {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--bg-light) 0%, #0d1117 100%);
    padding: 40px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-apps {
    display: flex;
    gap: 15px;
}

.app-badge {
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: var(--primary-color);
}

.responsible-gaming {
    display: flex;
    gap: 20px;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d0d1a;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        z-index: 9999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 215, 0, 0.3);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .page-title h1 {
        font-size: 1.8rem;
    }

    .jackpot-banner {
        flex-direction: column;
        text-align: center;
    }

    .jackpot-amount {
        text-align: center;
    }

    .jackpot-amount .amount {
        font-size: 1.8rem;
    }

    .number-ball.grand {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .number-ball.consolation {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .results-section {
        grid-template-columns: 1fr;
    }

    .jackpot-header {
        flex-direction: column;
        text-align: center;
    }

    .jackpot-pool {
        text-align: center;
    }

    .footer-links {
        gap: 15px;
    }

    .date-picker-section {
        flex-direction: column;
    }

    /* Matching Table Mobile */
    .matching-table table {
        font-size: 0.8rem;
    }

    .matching-table th {
        padding: 8px 3px;
        font-size: 0.75rem;
    }

    .matching-table td {
        padding: 6px 2px;
    }

    .matching-table .num {
        min-width: 18px;
        padding: 4px 2px;
        font-size: 0.7rem;
        border-radius: 3px;
    }

    .matching-table .prize-rank {
        font-size: 0.7rem;
        padding: 6px 4px;
    }

    .matching-table .or-text {
        font-size: 0.6rem;
        padding: 4px 1px;
    }

    .matching-table .empty {
        padding: 4px 1px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .number-ball.grand {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Extra Small Matching Table */
    .matching-table table {
        font-size: 0.7rem;
    }

    .matching-table th {
        padding: 6px 2px;
        font-size: 0.65rem;
    }

    .matching-table td {
        padding: 4px 1px;
    }

    .matching-table .num {
        min-width: 16px;
        padding: 3px 1px;
        font-size: 0.65rem;
        border-radius: 2px;
    }

    .matching-table .prize-rank {
        font-size: 0.6rem;
        padding: 4px 2px;
    }

    .matching-table .or-text {
        font-size: 0.55rem;
        padding: 3px 0;
    }

    .matching-table .empty {
        padding: 3px 0;
        min-width: 10px;
    }

    .date-text {
        font-size: 1rem;
    }

    .prize-table td {
        padding: 10px 8px;
        font-size: 0.95rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prize-section,
.jackpot-banner,
.results-section,
.jackpot-results,
.past-results {
    animation: fadeIn 0.5s ease-out;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== About Page Styles ===== */
.about-section {
    animation: fadeIn 0.5s ease-out;
}

.about-hero {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.about-logo-large {
    margin-bottom: 20px;
}

.about-logo-large img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: var(--shadow-lg);
}

.about-hero h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.about-hero .tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.about-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-features {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.about-features h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.feature-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.features-list li span:last-child {
    color: var(--text-primary);
    word-break: break-word;
}

/* Mobile responsive for features list */
@media (max-width: 600px) {
    .features-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .features-list li {
        padding: 12px 15px;
        gap: 10px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 1rem;
    }
}

.about-draw-times {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-draw-times h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.draw-times-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.draw-time-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 25px 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--secondary-color);
}

.draw-time {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.draw-label {
    display: block;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
}

.draw-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-disclaimer {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.about-disclaimer h3 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-disclaimer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-disclaimer .responsible-msg {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0;
}

/* ===== Contact Page Styles ===== */
.contact-section {
    animation: fadeIn 0.5s ease-out;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-info {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-form-container {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}
