/*
Theme Name: ESPL
Theme URI: https://espl.gg
Author: ESPL Team
Author URI: https://espl.gg
Description: Custom WordPress theme for ESPL (Esports Players League) migrated from HTML static site. Preserves original design, styling, and functionality.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: espl
Tags: esports, gaming, tournaments, dark-theme, responsive
*/

/* Base styles from original site */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    -webkit-print-color-scheme: dark;
    color-scheme: dark;
}

body {
    font-family: 'Quantico', sans-serif;
    background-color: #1F2334;
    color: #C1C2C5;
    line-height: 1.55;
    font-size: 1.6rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 24px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quantico', sans-serif;
    color: #fff;
    margin: 0 0 1rem;
}

h2.title {
    background-image: url('assets/title-icon.svg');
    background-position: 0;
    background-repeat: no-repeat;
    background-size: 20px;
    height: 46px;
    line-height: 46px;
    padding-left: 36px;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 40px;
    font-size: 1.8rem;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    font-family: 'Quantico', sans-serif;
    white-space: nowrap;
}

.btn-primary {
    background: #6759e9;
    color: #fff;
    border-radius: 3px;
    position: relative;
    max-width: calc(100% - 12px);
    margin: 6px;
    padding: 0 15px;
}

.btn-primary:before {
    content: "";
    position: absolute;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border: 2px solid #6759e9;
    border-radius: 5px;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s;
}

.btn-primary:hover:before {
    width: 100%;
    height: 100%;
    left: 0;
    border-color: transparent;
}

/* Links */
a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
    h2.title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    h2.title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    h2.title {
        font-size: 2rem;
        height: 25px;
        line-height: 25px;
    }
    
    .btn {
        font-size: 1.4rem;
    }
}

