/* EuroJackpotPyLab – darker Eurojackpot-style theme with Python blue accents */

/* ---------- Base ---------- */

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    background: radial-gradient(circle at top,
        #3b260e 0%,
        #5c3a12 35%,
        #8c6017 70%,
        #b27f1c 100%);
    color: #222;
    line-height: 1.6;
}

a {
    color: #d88a00;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ---------- Layout containers ---------- */

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

main {
    padding: 20px 0 40px 0;
    min-height: 70vh;
}

main .container {
    background-color: #fff7e6;       /* ζεστό κρεμ */
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
    padding: 22px 24px 30px 24px;
}

/* ---------- Header / nav ---------- */

header {
    background: #20100a;
    border-bottom: 3px solid #c89322;
    padding: 8px 0;
}

.header-flex {
    display: flex;
    flex-direction: column;   /* logo+title πάνω, menu κάτω */
    align-items: center;      /* κέντρο οριζόντια */
    justify-content: center;
}

.logo-title {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 100px;
    margin-right: 10px;
    border-radius: 8px;
}

.title-block h1 {
    margin: 0;
    font-size: 3.2rem;
    letter-spacing: 0.05em;

    font-family: 'Bungee', 'Poppins', sans-serif;
    text-transform: uppercase;

    /* multi-layer shadow για “ανάγλυφο” */
    text-shadow:
        0 2px 0 #5f3200,           /* πρώτο σκούρο χείλος */
        0 4px 0 #3b1b00,           /* δεύτερο, πιο βαθύ */
        0 6px 4px rgba(0, 0, 0, .75);  /* blur σκιά από κάτω */;
}

.title-block h1 a {
    color: inherit;
    text-decoration: none;
}

/* Χρυσό για το "EuroJackpotPy" */
.title-block h1 .title-main {
    color: #ffd96a;
}

/* Python blue για το "LAB" */
.title-block h1 .title-lab {
    color: #3572A5;
    text-shadow:
        0 2px 0 #16324f,
        0 4px 0 #0b1724,
        0 6px 4px rgba(0, 0, 0, .9);
}

.title-block .tagline {
    margin: 0;
    font-size: 0.85rem;
    color: #f0e0c0;
}

nav a {
    margin-left: 14px;
    color: #f6f6f6;
    font-size: 0.95rem;
    font-weight: 500;
}
nav a:hover {
    color: #ffd966;
}

/* ---------- cta class ---------- */
.cta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.cta-title {
  font-weight: 700;
  margin-bottom: 10px;
}

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

.cta-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: #f59e0b;   /* your orange */
  color: #111827;
}

.cta-btn--ghost {
  background: transparent;
  border: 2px solid rgba(245,158,11,0.9);
}

.cta-note {
  margin-top: 10px;
  font-size: 0.92rem;
  opacity: 0.75;
}


.donate-qr img{
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* ---------- Page wrapper / sidebar ---------- */

.page-wrapper {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0 32px 0;
}

.sidebar-left {
    padding-left: 4%;
}

.sidebar-card {
    background-color: rgba(18, 10, 6, 0.9);
    color: #f8e7b5;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.sidebar-title {
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
    color: #ffe48a;
}

.sidebar-card img {
    width: 100%;
    border-radius: 8px;
    margin-top: 6px;
}

.sidebar-book-caption {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #f5dba0;
}

.sidebar-logo-card {
    text-align: center;
    padding: 8px 10px;      /* λίγο πιο σφιχτό */
}

.sidebar-logo-card img,
.sidebar-logo {
    max-width: 200px;       /* δοκίμασε 140–160 αν θες */
    width: 100%;
    border-radius: 10px;
}

/* Κάρτα με το βιβλίο */
.sidebar-book img {
    max-width: 150px;       /* ίδιο πλάτος με το logo για ισορροπία */
    width: 100%;
}
/* ---------- Countdown in sidebar ---------- */

.countdown-timer {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #ffe48a;
}

.countdown-note {
    font-size: 0.8rem;
    color: #f3d28f;
    margin-top: 4px;
}

/* ---------- Footer ---------- */

footer {
    background-color: #20100a;
    padding: 14px 0;
    border-top: 3px solid #c89322;
    font-size: 0.85rem;
    text-align: center;
    color: #f0e0c0;
}

/* ---------- Buttons & form controls ---------- */

button,
input[type=submit] {
    background: linear-gradient(180deg, #ffd65a 0%, #e49d16 100%);
    color: #221107;
    border: 1px solid #b8790a;
    padding: 7px 16px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}
button:hover,
input[type=submit]:hover {
    background: linear-gradient(180deg, #ffe277 0%, #f7b82a 100%);
}

input,
select {
    background-color: #faf6ea;
    color: #222;
    border: 1px solid #d3b16a;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.9rem;
}

/* ---------- Tables ---------- */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    font-size: 0.9rem;
}
th, td {
    border: 1px solid #e0d0a0;
    padding: 6px 8px;
    text-align: left;
}
th {
    background-color: #fff4c7;
    color: #5b3a00;
}

.euronumbers-table td:nth-child(4),
.euronumbers-table td:nth-child(5) {
    white-space: nowrap;
}
/* ---------- Book section ---------- */

.book-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 1em;
    flex-wrap: wrap;
}
.book-section img {
    width: 190px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.book-description {
    flex: 1;
}

.book-mini {
    margin-top: 10px;
}
.book-mini img {
    width: 120px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

/* ---------- Play page – golden balls style ---------- */

.play-header {
    border-left: 6px solid #3572A5; /* Python blue accent */
    padding-left: 10px;
    margin-bottom: 12px;
}

.play-lines {
    padding-left: 1.5rem;   /* για το 1.,2.,3. */
    margin-top: 8px;
}

.play-lines li {
    margin-bottom: 8px;
}

/* Τα “μπαλάκια” των αριθμών */
.ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 6px;

    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        #fff7b8 0%,
        #ffd52e 40%,
        #f1b71a 75%,
        #c28208 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);

    font-weight: 700;
    font-size: 0.95rem;
    color: #1c1408;
}

/* form row for pack size */
.play-form-row {
    margin-bottom: 10px;
}
.play-form-label {
    font-size: 0.9rem;
    margin-right: 6px;
}

/* ---------- Logbook form ---------- */

.logbook-form div {
    margin-bottom: 8px;
}

.logbook-form label {
    display: inline-block;
    min-width: 120px;
    font-size: 0.9rem;
}

.logbook-table th,
.logbook-table td {
    text-align: center;
}

.logbook-table th:nth-child(1),
.logbook-table td:nth-child(1),
.logbook-table th:nth-child(2),
.logbook-table td:nth-child(2),
.logbook-table th:nth-child(3),
.logbook-table td:nth-child(3) {
    text-align: left;
}

/* Winning line styling on logbook page */
.winning-line {
    margin: 8px 0 16px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.winning-label {
    font-weight: 600;
    margin-right: 6px;
}

.balls-group {
    display: inline-flex;
    align-items: center;
}

.plus-sign {
    font-weight: 700;
    margin: 0 6px;
    font-size: 1rem;
}

/* Optional different look for Euro balls */
.ball-euro {
    background: radial-gradient(circle at 30% 30%,
        #e4f0ff 0%,
        #7fb5ff 40%,
        #4078d0 75%,
        #254272 100%);
    color: #fdfdfd;
}

/* Logbook tables */

.logbook-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.logbook-table th,
.logbook-table td {
    border: 1px solid #e2d6b8;
    padding: 4px 6px;
    text-align: center;
}

.logbook-table th {
    background-color: #f7f0dc;
    font-weight: 600;
}

/* first three columns left-aligned */
.logbook-table th:nth-child(1),
.logbook-table td:nth-child(1),
.logbook-table th:nth-child(2),
.logbook-table td:nth-child(2),
.logbook-table th:nth-child(3),
.logbook-table td:nth-child(3) {
    text-align: left;
}

/* Totals row with a light highlight */
.logbook-totals tbody tr {
    background-color: #fff9e6;
    font-weight: 600;
}

/* ---------- Headings ---------- */

h2, h3 {
    color: #3b2400;
}

p {
    margin-bottom: 0.7em;
}

/* ---------- Responsive tweak ---------- */

@media (max-width: 900px) {
    .page-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar-left {
        padding: 0 4%;
        order: 2;
    }
    main {
        order: 1;
    }
}
